[clug-talk] File permissions: add but not modify/delete?

Curtis Sloan curtis.sloan at shaw.ca
Fri Nov 26 15:59:16 PST 2004


On Fri November 26 2004 16:15, William Astle wrote:
> Adil Kodian wrote:
> > On Fri, 26 Nov 2004 15:51:50 -0700, Curtis Sloan <curtis.sloan at shaw.ca> 
wrote:
> >>I have a directory that I want group 'x' to be able to write to, but not
> >>modify/delete existing files (yes, that would include files they just
> >> added). I'm no expert, but as far as I can tell standard *nix
> >> permissions don't have
>
> <snip>
>
> > set the sticky bit on and set gid.

Ah, yes.  Forgot about the sticky bit.  :-)  In this case, that should do 
fine.  I'll read up on it.

> <snip>
>
> You missed the bit 

No pun intended?  ;-)

> about users not being able to delete files they just 
> added. The sticky bit would allow them to modify or delete the file.
> (They would still own it, after all.)

Now, if I wanted to remove the user's ability to modify or delete after 
creation, how would I do that?

Thanks,
Curtis S.



More information about the clug-talk mailing list