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

Re: writeable but not eraseable directory



On Mon, 29 Jan 2001, Erez Doron wrote:

> hi
> 
> I have a dirctory ~user1 ( which is owned by user 1)
> I have a subdir ~user1/changes
> I want the user to be able to write to ~user1/ and to ~user1/changes/
> but i do not want him to be able to rmdir ~user1/changes

You can symlink changes to the directory you don't want the user to rmdir
(that's subdir of an unwritable dir).

> is there a way ?
> ( i am aware of a way of making a unwritable middle directory i.e.
> ~user/unwritable-dir/changes , but i'm not looking for that solution ...

  Alon

--------- if you cut here, you'll probably destroy your monitor ----------
This message was sent by Alon Altman (Psycho99@bigfoot.com) ICQ:1366540
The RIGHT way to contact me is by e-mail. I am otherwise nonexistent :)



=================================================================
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