even root cannot read my symlinks!

2012-09-06 Thread jidanni
# su - nobody No directory, logging in with HOME=/ nobody@jidanni2:/$ date > /tmp/cc nobody@jidanni2:/$ ln -s /tmp/cc /tmp/dd nobody@jidanni2:/$ ls -l /tmp/cc /tmp/dd -rw-r--r-- 1 nobody nogroup 29 Sep 7 08:37 /tmp/cc lrwxrwxrwx 1 nobody nogroup 7 Sep 7 08:37 /tmp/dd -> /tmp/cc nobody@jidanni2:/

Re: even root cannot read my symlinks!

2012-09-06 Thread The Fungi
On 2012-09-07 08:56:39 +0800 (+0800), jida...@jidanni.org wrote: [...] > Sep 7 08:36:46 jidanni2 kernel: [19394.443080] type=1400 > audit(1346978206.292:11): op=follow_link action=denied pid=19327 comm="cat" > path="/tmp/bb" dev="tmpfs" ino=275448 [...] Maybe this? http://lwn.net/Articles/502

Re: even root cannot read my symlinks!

2012-09-06 Thread Paul Wise
On Fri, Sep 7, 2012 at 9:50 AM, The Fungi wrote: > http://lwn.net/Articles/502621/ The file and symlink have the same owner so that is unlikely to be the cause, unless the feature is buggy. -- bye, pabs http://wiki.debian.org/PaulWise -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.d

Re: even root cannot read my symlinks!

2012-09-06 Thread Ben Hutchings
On Fri, 2012-09-07 at 08:56 +0800, jida...@jidanni.org wrote: > # su - nobody > No directory, logging in with HOME=/ > nobody@jidanni2:/$ date > /tmp/cc > nobody@jidanni2:/$ ln -s /tmp/cc /tmp/dd > nobody@jidanni2:/$ ls -l /tmp/cc /tmp/dd > -rw-r--r-- 1 nobody nogroup 29 Sep 7 08:37 /tmp/cc > lrwx

Re: even root cannot read my symlinks!

2012-09-06 Thread Ben Hutchings
On Fri, 2012-09-07 at 09:56 +0800, Paul Wise wrote: > On Fri, Sep 7, 2012 at 9:50 AM, The Fungi wrote: > > > http://lwn.net/Articles/502621/ > > The file and symlink have the same owner so that is unlikely to be the > cause, unless the feature is buggy. The comparison is between the owner of the

Re: even root cannot read my symlinks!

2012-09-08 Thread jidanni
I see. Who knows what they'll break next. Perhaps next time add a note to /usr/share/doc/linux-image-486/NEWS.Debian.gz -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org

Re: even root cannot read my symlinks!

2012-09-08 Thread Ben Hutchings
On Sun, 2012-09-09 at 06:06 +0800, jida...@jidanni.org wrote: > I see. > Who knows what they'll break next. Do you use any particular obscure features that I could suggest? > Perhaps next time add a note to > /usr/share/doc/linux-image-486/NEWS.Debian.gz I originally proposed to do this when dis

Re: even root cannot read my symlinks!

2012-09-08 Thread Nick Leverton
On Sun, Sep 09, 2012 at 01:54:20AM +0100, Ben Hutchings wrote: > On Sun, 2012-09-09 at 06:06 +0800, jida...@jidanni.org wrote: > > I see. > > Who knows what they'll break next. > > Do you use any particular obscure features that I could suggest? Networking, keyboards, rotating media ... Nick -