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

Re: writeable but not eraseable directory



man chmod, man chattr.

> 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
>
> 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 ...
> )
>
> another question: is there a /dev/null directory ( i.e. you can write
> anything you want into it, but what you write isn't really written, you
> just dont get an error ... )
>
>
> thanks
> erez.

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