Wrong permissions to "/" in my debian/testing system



Hi,
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:

stat /
File: `/'
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
Archive: http://lists.debian.org/4DDE57FE.9000902@xxxxxxxxxxxxxx



Relevant Pages

  • Re: Wrong permissions to "/" in my debian/testing system
    ... create directories in root directory of my Dabian/testing system. ... Looking for possible causes, I've found, that stat gives the following ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: PowerBook 12"
    ... I would like to install Ubuntu 9.04 PowerPC on my PowerBook 12" with no ...  I have copied the 4 files into the root directory (just ... and I think it will make my 12" PowerBook very useful.. ... To UNSUBSCRIBE, ...
    (Debian-User)
  • Re: GRUB2 error
    ... The last problem is that when booting up the Welcome to ... Grub notice appears and then: ... If I run "ls" I find that the root directory should be and that ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • how to add a virtual directory in apache with support to php files?
    ... which is the default root directory for localhost, ... pops out the download dialog to download the Welcome.php file. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Most directories locked read-only: how to unlock them?
    ... I was also aware that this error caused the root directory ... Also as my original post indicated, ... in that case mount doesn't read fstab. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)