Re: [AD] RE: [AD] default file permissions (unix) |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Monday 15 July 2002 22:35, Stepan Roh wrote:
> which is mode 0666. I think that Allegro should do the same. Or, if
> we want to be paranoid, it can test for geteuid() != 0 and otherwise
> use 0600.
OK, but once again, touch simply uses whatever is in the umask:
su -c 'umask 000 && touch tmp'
creates a file 'tmp' with permissions rw-rw-rw- .
Bye for now,
- --
Laurence Withers, lwithers@xxxxxxxxxx
(GnuPG 04A646EA) http://www.lwithers.demon.co.uk/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9M0kTUdhclgSmRuoRApOOAJ9CB2pH+1G1eumJu6vypngZelzEDwCfVUhz
Yk38LBCjcIC0HP0fuvFOwpc=
=ZrwE
-----END PGP SIGNATURE-----