Re: umask from ant

2012-08-03 Thread Joe Attardi
Umask is a shell command, not a standalone binary. So you will need to invoke your shell to run umask. Something like On Aug 2, 2012 4:57 PM, "Maurice Feskanich" wrote: > Looks like it needs the full path to the executable. > > Maury > > > On 08/02/12 13:36, Eric Fetzer wrote: > >> Sorry, a

Re: UNS: Re: umask from ant

2012-08-03 Thread Eric Fetzer
Thanks everyone, moved over to chmod. On Aug 2, 2012, at 8:15 PM, Andreas Krey wrote: > On Thu, 02 Aug 2012 16:00:11 +, 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: >>

Re: UNS: Re: umask from ant

2012-08-02 Thread Andreas Krey
On Thu, 02 Aug 2012 16:00:11 +, 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: > > > > > > Problem is: This will work, but won't work as expected. The umask it

Re: umask from ant

2012-08-02 Thread Bruce Atherton
Which might be a problem on some systems, as sometimes umask is a built-in shell command. Commands to find out where umask is: "which umask", "type umask". Even if it is built in to the shell, it may still be available as an executable on your system. Try looking in /bin, /sbin, /usr/bin, and

Re: umask from ant

2012-08-02 Thread Maurice Feskanich
Looks like it needs the full path to the executable. Maury On 08/02/12 13:36, Eric Fetzer wrote: Sorry, ant version is 1.7.1 On Aug 2, 2012, at 4:32 PM, Eric Fetzer wrote: I don't get it, I do the following and it crashes: Anyone have a clue why that would be? I'm

Re: umask from ant

2012-08-02 Thread Eric Fetzer
Sorry, ant version is 1.7.1 On Aug 2, 2012, at 4:32 PM, Eric Fetzer wrote: > I don't get it, I do the following and it crashes: > > > > > > Anyone have a clue why that would be? I'm on redhat 5.5 (Tikanga). I can > type umask 0002 on the command line all day long... He

umask from ant

2012-08-02 Thread Eric Fetzer
I don't get it, I do the following and it crashes:               Anyone have a clue why that would be?  I'm on redhat 5.5 (Tikanga).  I can type umask 0002 on the command line all day long...  Here's the error:   /app/rosstr/test.xml:5: Execute failed: java.io.IOException: Cannot run progra