Results 1 to 7 of 7
i admit to being new to linux and all, but i was just playing around with it, and the terminal. I created a test folder with a variety of files ...
- 05-05-2009 #1Just Joined!
- Join Date
- May 2009
- Posts
- 4
file permissions - quite strange
i admit to being new to linux and all, but i was just playing around with it, and the terminal. I created a test folder with a variety of files inside, stored in my home directory. Then changed the chmod setting to 000 for all files (which i believe means no read, write or execute). Fine, that works. I can't open the files, copy or move them, but somehow I can easily delete these files just by pressing the delete key on my keyboard. Does anybody know what's going on here? I'm on ubuntu 9.04.
- 05-05-2009 #2
That wont happen, Im using ubuntu 9.04. didnt faced such bug.
but make sure. that you are not running nautilus with root privilages (X_X less possibilty)
and permissions are changed correctly to 000
- 05-05-2009 #3Just Joined!
- Join Date
- May 2009
- Posts
- 4
- 05-05-2009 #4
Nautilus is your file browser, can you remove file with rm command?
- 05-05-2009 #5Just Joined!
- Join Date
- May 2009
- Posts
- 4
- 05-05-2009 #6
You can delete or move files (nautilus will move file to trash on delete) when you have write permission on directory of file.
e.g.
/home/popo/Main
(You have full access to folder Main)
~/Main/Sub
(You have no permission for directory Sub)
In this case you can delete/move/rename contents of Main, but not Sub.
- 05-05-2009 #7Just Joined!
- Join Date
- May 2009
- Posts
- 4
I see. Thanks for clearing that up mate.


Reply With Quote
