in reply to Re: Re: Re: Setting permissions as text file is created
in thread Setting permissions as text file is created
A file mode of 0666 is generally badPerhaps, but a mode of 0666 on sysopen is generally good, because it gives the user of the program the most control. Remember that the mode given to sysopen is masked with the umask of the user. A mode of 0666 gives the user the option to say who can read/write the file, by using commonly used umasks of 022, 027 and 077. If you use a mode of 0644 or 0600, you rob the user of options. For executables, use a mode of 0777.
Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Setting permissions as text file is created
by coec (Chaplain) on Mar 17, 2004 at 23:15 UTC | |
by Abigail-II (Bishop) on Mar 17, 2004 at 23:42 UTC | |
by Abigail-II (Bishop) on Mar 17, 2004 at 23:52 UTC | |
by coec (Chaplain) on Mar 18, 2004 at 01:19 UTC | |
by Abigail-II (Bishop) on Mar 18, 2004 at 01:48 UTC |