Wrong permissions to "/" in my debian/testing system
- From: Wojtek Zabolotny <W.Zabolotny@xxxxxxxxxxxxxx>
- Date: Thu, 26 May 2011 15:39:10 +0200
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 /etc").
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
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- Prev by Date: Re: Anyone solved the b43legacy 1 Mb/s issue in Squeeze?
- Next by Date: Problema Suma de Tamaños
- Previous by thread: Missing directory in LTSP 5.2 chroot
- Next by thread: Re: Wrong permissions to "/" in my debian/testing system