Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #52266

Re: no permission as root?

From Julien Cristau <jcristau@debian.org>
Newsgroups linux.debian.kernel
Subject Re: no permission as root?
Date 2016-01-19 22:00 +0100
Message-ID <qSLxF-4AW-21@gated-at.bofh.it> (permalink)
References <qSJPc-3EO-13@gated-at.bofh.it> <qSJPd-3EO-27@gated-at.bofh.it> <qSLxE-4AW-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Ah, right. That is the "protected symlinks" hardening feature.

Cheers,
Julien

On January 19, 2016 9:36:50 PM CET, Die Optimisten <inform@die-optimisten.net> wrote:
>On 2016-01-19 20:06, Julien Cristau wrote:
>> On Tue, Jan 19, 2016 at 19:44:26 +0100, Die Optimisten wrote:
>>
>>> Hi
>>> I#m using/normal Debian, without virtualization, etc/
>>> Why do I have access as user, but not as root????
>>>
>> google for nfs root squash.
>>
>> Cheers,
>> Julien
>Hi Julien,
>Its local, without NFS!  (rootfs  ext2, mounted without acl, xattr, etc
> )
>Furthermore, if a user created the link, other users can't follow it,
>other users can follow only, if created by root.
>
>test@PcDach:/tmp/BB$ dir RR
>lrwxrwxrwx 1 andreas andreas 39 Jan 19 21:25 RR -> /RRR/
>test@PcDach:/tmp/BB$ dir RR/
>ls: cannot access RR/: Permission denied
>test@PcDach:/tmp/BB$
>test@PcDach:/tmp/BB$ dir /RRR/    # shows all
>total 82048
>drwxrwxrwx  3 andreas test       4096 Jan 19 19:04 .
>drwxrwxrwx  59 root    test      12288 Jan 15 17:10 ..
>...
>
>Andrew

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

no permission as root? Die Optimisten <inform@die-optimisten.net> - 2016-01-19 20:10 +0100
  Re: no permission as root? Julien Cristau <jcristau@debian.org> - 2016-01-19 20:10 +0100
    Re: no permission as root? Ben Hutchings <ben@decadent.org.uk> - 2016-01-19 20:30 +0100
    Re: no permission as root? Die Optimisten <inform@die-optimisten.net> - 2016-01-19 22:00 +0100
      Re: no permission as root? Julien Cristau <jcristau@debian.org> - 2016-01-19 22:00 +0100
        Re: no permission as root? Die Optimisten <inform@die-optimisten.net> - 2016-01-19 22:30 +0100
          Re: no permission as root? Ben Hutchings <ben@decadent.org.uk> - 2016-01-19 23:50 +0100

csiph-web