default creation mask

default creation mask

Post by Jacque » Fri, 26 May 2000 04:00:00



Hi!

I have a question regarding file creation.  Is there a way to set a
system-wide,
default umask?  I know that this is usually made thru /etc/profile or a
user's
.profile,  but that doesn't work with shell-less programs such as
inittab.

If we simply put a 'touch' command in the inittab file, that file will
be created
with a 666 permission.  Same thing when creating a directory with mkdir,
which
will give us 777. I know that inittab should be used for starting jobs,
but we're
having the same problem with a software called autosys, which is a
replacement
for cron (cron does a fine job though, assigning a 644 permission from a
'touch').

thanks
__
Jacques