Thanks everyone, moved over to chmod.


On Aug 2, 2012, at 8:15 PM, Andreas Krey <a.k...@gmx.de> wrote:

> On Thu, 02 Aug 2012 16:00:11 +0000, Bruce Atherton wrote:
> ...
>> If you still can't find it, change the executable to start your shell 
>> and tell it to execute the umask command. Something like this:
>> 
>> <exec executable="/bin/sh">
>>    <arg value="-c" />
>>    <arg value="umask" />
>>    <arg value="0002" />
>> </exec>
> 
> Problem is: This will work, but won't work as expected. The umask it
> is setting is a process property, and the whole point of it being
> a builtin to the shell is that that is the only way it can affect
> other commands at all.
> 
> As it is above it will just set the umask of the shell running
> int the <exec>, and nothing more.
> 
> Andreas
> 
> -- 
> "Totally trivial. Famous last words."
> From: Linus Torvalds <torvalds@*.org>
> Date: Fri, 22 Jan 2010 07:29:21 -0800

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to