[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: /proc filesystem allows bypassing directory permissions on
- To: psz@xxxxxxxxxxxxxxxxx, mrex@xxxxxxx, bugtraq@xxxxxxxxxxxxxxxxx, dan@xxxxxxxxxxxxxxxx, jim@xxxxxxxx, marco@xxxxxx
- Subject: Re: /proc filesystem allows bypassing directory permissions on
- From: Pavel Machek <pavel@xxxxxx>
- Date: Wed, 4 Nov 2009 09:32:22 +0100
On Wed 2009-11-04 09:06:25, Gabor Gombas wrote:
> On Wed, Nov 04, 2009 at 10:17:13AM +1100, psz@xxxxxxxxxxxxxxxxx wrote:
>
> > But, mount requires root (and root can do anything, including shooting
> > himself in the foot).
>
> Irrelevant. The statement was that if /proc is not mounted, then the
> link count tells if there are other ways to access the inode besides the
> path you have used to access it. I showed you that this statement is
> false.
Heck, root can create hardlink and then manually drop link count back
to 1 -- for example using debugfs.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures)
http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html