[prev in list] [next in list] [prev in thread] [next in thread] 

List:       debian-user
Subject:    Wrong permissions to "/" in my debian/testing system
From:       Wojtek Zabolotny <W.Zabolotny () elka ! pw ! edu ! pl>
Date:       2011-05-26 13:39:10
Message-ID: 4DDE57FE.9000902 () elka ! pw ! edu ! pl
[Download RAW message or body]

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@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/4DDE57FE.9000902@elka.pw.edu.pl


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic