Wrong permissions to "/" in my debian/testing system
I've just accidentally discovered, that as a plain user I'm able to create directories in root directory of my Dabian/testing system.
Investigating the problem, I've found, that I can also rename directories, which is even worse (just imagine creating "/etc.new" with special contents and then renaming "mv /etc /etc.old ; mv /etc.new
Looking for possible causes, I've found, that stat gives the following status:
Size: 608 Blocks: 1 IO Block: 4096 katalog
Device: 803h/2051d Inode: 2 Links: 25
Access: (0777/drwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2011-05-26 15:27:31.000000000 +0200
Modify: 2011-05-26 15:27:31.000000000 +0200
Change: 2011-05-26 15:27:31.000000000 +0200
Why "Access" is 0777???
In /etc/fstab root is mounted as:
/dev/sda3 / reiserfs notail,relatime 0 1
I have to check my other machines, but the problem is definitely strange and annoying!
Has anyone found similar phenomenon in his/her system?
TIA & Regards,
Wojciech M Zabolotny, PhD