Sepertiya ada yg aneh dgn linux saya (RH 7.3):
User biasa dapa men delete file readonly milik root.

[** root **]
[root@orion home]# uname -a
Linux orion 2.4.18-3 #1 Thu Apr 18 07:37:53 EDT 2002 i686 unknown
[root@orion home]# touch test
[root@orion home]# ls -la test
-rw-r--r--    1 root     root            0 Agu 14 11:17 test
[root@orion home]#

[** user bob **]
[bob@orion home]$ whoami
bob
[bob@orion home]$ rm -f test
rm: cannot unlink `test': Permission denied

Ok, tapi kalau root create di file di ~bob dgn permission yg sama :

[root@orion bob]# cd ~bob/
[root@orion bob]# touch test2
[root@orion bob]# ls -l test2
-rw-r--r--    1 root     root            0 Agu 14 11:22 test2
[root@orion bob]#

[** user bob **]
[bob@orion bob]$ ls -l test2
-rw-r--r--    1 root     root            0 Agu 14 11:22 test2
[bob@orion bob]$ rm  test2
rm: remove write-protected file `test2'? y
[bob@orion bob]$ ls -l test2
ls: test2: No such file or directory
[bob@orion bob]$ whoami
bob
[bob@orion bob]$ groups
users
[bob@orion bob]$

Ada yg bisa kasih penjelasan?




-- 
Utk berhenti langganan, kirim email ke [EMAIL PROTECTED]
Dapatkan FAQ milis dg mengirim email kosong ke [EMAIL PROTECTED]
Informasi arsip di http://www.linux.or.id/milis.php3

Kirim email ke