Bug 10782
Summary: | Access to links of root processes in /proc does not work | ||
---|---|---|---|
Product: | File System | Reporter: | Markus Moeller (huaraz) |
Component: | Other | Assignee: | other_other |
Status: | REJECTED WILL_NOT_FIX | ||
Severity: | normal | CC: | devzero, ttimo |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.22.13 | Subsystem: | |
Regression: | --- | Bisected commit-id: |
Description
Markus Moeller
2008-05-23 12:06:03 UTC
chroot(), binaries in directories whose permissions are open to the user but whose directories above prevent the /proc using user reaching it via normal means FWIW I am seeing this happen for none of the above-mentioned reasons. Not chrooting, no SELinux, no apparmor or whatever, kernel 2.6.24. I think the main problem is how hard it is to diagnose and identify why the permission is denied. $ id uid=1000(timo) gid=1009(quakelive) [..] $ ls -1l /usr/local/alienbrain total 8044 -rwxrwxr-x 1 root staff 1126824 2007-04-25 11:49 ab [..] $ ls -1l /proc/19405 ls: cannot read symbolic link /proc/19405/cwd: Permission denied # ls -1l /proc/19405 [..] lrwxrwxrwx 1 timo timo 0 2008-10-28 12:14 cwd -> /usr/local/alienbrain |