18 Jun
2000
18 Jun
'00
23:28
On 18 Jun 2000, Eilert Brinkmann wrote:
Jens Kuehnel
wrote: can a root user create a file in a regular user's home directory so that the regular user can not remove it? Have a look at the directory-Mode. Writing a directory means deleting and creating files. Normaly the best thing is a t-bit like at /tmp.
That won't work in this case. The owner of the directory (i.e., the regular user who should be the owner of his home directory) will still be able to delete files he doesn't own. And because he is able to change his home directory's permissions he even could simply clear the t-bit. Setting the immutable flag with chattr is the only possible solution. Yes, you are right! Does that mean that there is no solution for reiserfs??
CU Jens