On 05/23/2012 02:59 PM, Cameron Simpson wrote:
On 23May2012 12:13, JD<jd1008@xxxxxxxxx> wrote: | Why would I be denied access to info of files opened by processes | running with my uid? | This is a bug. | | To wit: | COMMAND PID TID USER FD TYPE DEVICE SIZE/OFF | NODE NAME | gnome-key 1707 jd cwd unknown | /proc/1707/cwd (readlink: Permission denied) What do: ls -ld /proc/1707 ls -la /proc/1707 show? Adjust for your running system, of course. Maybe /proc itself has exciting new permissions. Maybe lsof has exciting new setgidness or something. Or SELinux hates you. BTW, _does_ this work as root? Just for info. Cheers,
Yes it does work for root. So, my question still remains that a process that opens files/devices/dirs....etc, having user X's uid/gid for credentials, can open these resources, yet lsof, invoked by same user X, belches out Permission denied. How were such resources opened using X's credentials in the first place, if user X has no permission to read the link? -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org