I still find Linux permissions to be somewhat of a black art, though I am 
starting to get the hang of it...  That said, I'll take a shot at this one.

The first step would be to ensure the user has write permission, but not read.  
The second would be to change the ownership of the file.

So, something like so on the directory in question:

chmod o+w directory
chmod o-r directory
 
(or use the digit values for the permissions - I always have to look them up 
unless it's 755).

and then a chown on the directory as well.

I believe you might also be able to use umask here to accomplish what you're 
after.

But, I'll defer to the gurus on the list, I'm sure I've missed something 
here....

Shawn

On Friday 26 November 2004 16:15, William Astle wrote:
> Adil Kodian wrote:
> > On Fri, 26 Nov 2004 15:51:50 -0700, Curtis Sloan <[EMAIL PROTECTED]> 
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.
>
> <snip>
>
> You missed the bit 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.)

_______________________________________________
clug-talk mailing list
[EMAIL PROTECTED]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to