[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: default permissions
- To: Aviram Jenik <aviram(at-nospam)jenik.com>
- Subject: Re: default permissions
- From: Moshe Zadka <moshez(at-nospam)math.huji.ac.il>
- Date: Sun, 3 Dec 2000 11:31:59 +0200 (IST)
- cc: linux ILUG <linux-il(at-nospam)linux.org.il>
- Delivered-To: linux.org.il-linux-il@linux.org.il
- In-Reply-To: <035b01c05d08$d4d982c0$0201a8c0@aviram>
- Reply-To: Moshe Zadka <moshez(at-nospam)zadka.site.co.il>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
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