[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Sticky premissions.
- To: Oded Arbel <oded(at-nospam)geek.co.il>
- Subject: Re: Sticky premissions.
- From: guy keren <choo(at-nospam)actcom.co.il>
- Date: Tue, 23 Oct 2001 00:39:15 +0200 (EET)
- cc: Linux-IL <linux-il(at-nospam)linux.org.il>
- Delivered-To: linux.org.il-linux-il@linux.org.il
- In-Reply-To: <013301c15b28$102898c0$0200a8c0@silver>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
On Mon, 22 Oct 2001, Oded Arbel wrote:
> Reading this again, I think I didn't made myself clear, so lets try again :
> I want that any user of the "users" group will be able to create files and
> directories under the public directory, and said files and directories will
> automaticly have read/write access to all members of the "users" group, and
> recursively - that files and directories in sub-directories will also be
> thus affected.
as far as i know - you cannot do this with current kernels. your closest
bet would be to:
1. make the directory owned by group 'users'.
2. set the group sticky bit on the directory, so any files created in it,
will have group 'users' as their owning group.
3. force all users who work there to have a umask of '002'.
in any event, you just gave me another idea for what could be achived with
'syscall parameter rewriting' - a good thing for syscalltrack ;) (once it
supports syscall paramerter rewriting).
--
guy
"For world domination - press 1,
or dial 0, and please hold, for the creator." -- nob o. dy
=================================================================
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