ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gus Heck <>
Subject Re: Speaking of rights (was: Re: new p4 target)
Date Wed, 30 Oct 2002 18:47:10 GMT
> do these patches have tests and docs?

They both have docs. 9808 has tests. :) Have had it from Day 1

9809 is an addition of chgrp/chown tasks based on chmod task (which I 
split into an abstract base and a concrete implementation of each of 
these 3).

Chmod didn't have tests presumably because the tests would need to know 
too much about the underlying system to work. Chgrp and chown tasks have 
the same problem: They would need to know as what user/group was running 
the test, and what some other valid user or group on the system is and 
thier current user id would need to have permission to change groups and 

If it helps though, at one point I was feeding a fileset that specified 
6,000 files to my modified chmod/chgrp/chown them without any difficulty 
other than the fact that it was kinda slow with that many files. (about 
5 min each on a dual PIII 1Ghz with 10k disks)

I eventually realized that it is much faster (factor of at least 500) to 
exec a chmod -R for the baseline permissions and then use the tasks for 
the special cases. That helpful hint might be good to put in the docs.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message