Re: [arch-general] Opening symlinks in tmpfs as root fails!

2014-12-30 Thread Mohammad_AlSaleh
On Tue, Dec 30, 2014 at 02:02:32PM +0100, Christian Hesse wrote: > Christian Hesse on Tue, 2014/12/30 13:42: > > Mohammad_AlSaleh on Tue, 2014/12/30 14:36: > > > Hello. > > > > > > I just came across some weird behavior. > > > > > > A small testcase: > > > > > > cd /tmp # should be tmpfs > > >

Re: [arch-general] Opening symlinks in tmpfs as root fails!

2014-12-30 Thread Christian Hesse
Christian Hesse on Tue, 2014/12/30 13:42: > Mohammad_AlSaleh on Tue, 2014/12/30 14:36: > > Hello. > > > > I just came across some weird behavior. > > > > A small testcase: > > > > cd /tmp # should be tmpfs > > touch tfile > > ln -s tfile tlink > > cat tlink > > > > When cat executes, it retur

Re: [arch-general] Opening symlinks in tmpfs as root fails!

2014-12-30 Thread Mohammad_AlSaleh
On Tue, Dec 30, 2014 at 01:42:03PM +0100, Christian Hesse wrote: > Mohammad_AlSaleh on Tue, 2014/12/30 14:36: > > Hello. > > > > I just came across some weird behavior. > > > > A small testcase: > > > > cd /tmp # should be tmpfs > > touch tfile > > ln -s tfile tlink > > cat tlink > > > > When

Re: [arch-general] Opening symlinks in tmpfs as root fails!

2014-12-30 Thread Christian Hesse
Mohammad_AlSaleh on Tue, 2014/12/30 14:36: > Hello. > > I just came across some weird behavior. > > A small testcase: > > cd /tmp # should be tmpfs > touch tfile > ln -s tfile tlink > cat tlink > > When cat executes, it returns with success(0). But, if cat is executed > as root, it fails with