in reply to File Permissions
Just use the perl umask built-in to change this for your process (only need to do it once):
umask 0; chmod 0777, $file;
However, do you really want rwx permissions for everyone?
update: Randal's right; I assumed that umask worked on chmod too, but it doesn't.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: File Permissions
by merlyn (Sage) on Jul 22, 2001 at 23:02 UTC | |
by Anonymous Monk on Jul 23, 2001 at 00:08 UTC | |
|
Re: Re: File Permissions
by Anonymous Monk on Jul 23, 2001 at 00:32 UTC |