lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <bug-60676-13602-ZFF2nCjOZw@https.bugzilla.kernel.org/>
Date:	Thu, 01 Aug 2013 18:19:08 +0000
From:	bugzilla-daemon@...zilla.kernel.org
To:	linux-ext4@...r.kernel.org
Subject: [Bug 60676] Stat system call gives permission denied to root for
 links under a sticky bit

https://bugzilla.kernel.org/show_bug.cgi?id=60676

--- Comment #2 from James Kolb <jck@...ek.com> ---
The stat command (stat(1)) works on the link itself (but you can't go further
down the filesystem hierarchy).

So, in my previous example, calling "stat /tmp/testlink" and "stat
/tmp/testdir/testfile" both work, but "stat /tmp/testlink/testfile" gives a
permission error if you are root:
> stat: cannot stat `/tmp/testlink/testfile': Permission denied

The glibc stat function (stat(2)) does not even work on the link itself.

I'm not using SELinux.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ