[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: default permissions



On Sun, 3 Dec 2000, Aviram Jenik wrote:

> A simple question:
> 
> I want all the files that are created in a certain directory to have a
> default permission (e.g. ug+rwx, o+rx) as soon as they're created. This
> default should be different from other directories (i.e. I don't want to
> change the system's default).
> 
> How can I do that?
> 

When a file gets created on a UNIX system, the permissions are determined
by two things: umask, and requested permissions. Various solutions can
be devised based on changing one of these parameters -- if you tell
us why you need this, maybe we could be of more help.
--
Moshe Zadka <moshez@zadka.site.co.il> -- 95855124
http://moshez.org


=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il