[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Sticky premissions.
- To: guy keren <choo(at-nospam)actcom.co.il>
- Subject: Re: Sticky premissions.
- From: Daniel Feiglin <dilogsys(at-nospam)inter.net.il>
- Date: Tue, 23 Oct 2001 23:39:14 +0200
- CC: Oded Arbel <oded(at-nospam)geek.co.il>, Linux-IL <linux-il(at-nospam)linux.org.il>
- Delivered-To: linux.org.il-linux-il@linux.org.il
- Organization: Dilog Computers Ltd.
- References: <Pine.GSU.4.30_heb2.09.0110230036390.14067-100000@actcom.co.il>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010628
guy keren wrote:
> 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'.
Could that lead to some unpleasant privacy breaches if our user also happens to
work elsewhere?
DAF
>
> 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
>
>
>
=================================================================
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