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

Re: Sticky premissions.





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