From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079067215909.tru64-unix-managers.marc@archive.invalid> From: maurice.steyvers () ICA ! UNIMAAS ! NL Date: Wed, 11 Aug 1999 09:22:19 +0000 To: tru64-unix-managers Subject: umask at boot time ? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079067215909 We have the following "problem". When the script /sbin/init.d/httpd runs at boot time the umask appears to be different then when i run the same script (as user root) at run time. At boot time the umask appears to be 077, at run time our default umask (for user root) is 022. This effect leads to our problem: we use cgi scripts that create files. After a reboot the created files have a protection rw-r--r--. When httpd is stopped and started at run time it inherits a umask of 022 and the newly created files have a protection of rw------- (which is what we want). My question is:is the default umask at boot time indeed 077 ? _______________________________________________ Maurice Steyvers, ICA, Universiteit Maastricht mailto:maurice.steyvers@ica.unimaas.nl phone :(++ 31 43) 388 23 49 Fax :(++ 31 43) 361 42 87 _______________________________________________