Re: problem chmoding a large set of file

2001-10-28 Thread Nico Seessle

- Original Message -
From: Guillaume Rousse [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, October 27, 2001 5:29 PM
Subject: problem chmoding a large set of file


 chmod dir=${release.web} perm=og=u-w type=both includes=**/

 Using the verbose switch shows that ant tries to actually get the list of
all
 files in the directory instead of using a recursive chmod command. And as
the
 ${release.web} directory is quite large (2000 files), maybe it could be
the
 problem ?

Have you tried to add 'parallel=false' to your chmod task? This is
probably not the best solution, but the only solution I can think of
currently..

Sorry, I can't validate this, as I have no Linux currently available.

Nico



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




problem chmoding a large set of file

2001-10-27 Thread Guillaume Rousse

Altough very similar, the chmod task succeed for src target, and fails with 
web target:
!-- Prepare the source distribution --
  target name=src
[..]

chmod dir=${release.src} perm=og=u-w type=both includes=**/
  /target

  !-- Prepare the web site  --
  target name=web depends=release.bin,release.src,demo
[..]

chmod dir=${release.web} perm=og=u-w type=both includes=**/
  /target
Using the verbose switch shows that ant tries to actually get the list of all 
files in the directory instead of using a recursive chmod command. And as the 
${release.web} directory is quite large (2000 files), maybe it could be the 
problem ?
I use ant 1.4.1 on linux, with Sun jdk 1.31
-- 
Guillaume Rousse [EMAIL PROTECTED]
GPG key http://lis.snv.jussieu.fr/~rousse/gpgkey.html