Security Basics mailing list archives
User can delete root's file from user's home directory
From: Imre <jimbo () mailbox hu>
Date: Thu, 28 Oct 2004 13:29:00 +0200
Hello I have a big problem. On my system I have 2 users, root and a test-user named test. I made this: (as root, in /home/test) # touch testfile # echo probe > testfile After this I type 'ls -l' and get: test:/home/test# ls -l total 4 -rw-r--r-- 1 root root 6 Oct 28 13:27 testfile OK, it's default, right? But my problem starts here: test@test:~$ ls -l total 4 -rw-r--r-- 1 root root 6 Oct 28 13:27 testfile test@test:~$ rm testfile rm: remove write-protected file `testfile'? y teszt@teszt:~$ ls -l total 0 teszt@teszt:~$I don't want to delete files and directories from my ~ which made by root. Could anyone help me?
(Sorry about my english, usually only read this language) Thanks Jimbo
Current thread:
- User can delete root's file from user's home directory Imre (Oct 28)
- Re: User can delete root's file from user's home directory Mike (Oct 28)
- RE: User can delete root's file from user's home directory Alexandre Skyrme (Oct 28)