[lkml]   [2004]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: /bin/ls: cannot read symbolic link /proc/$$/exe: Permission denied
Olaf Hering <> writes:

> On Mon, Aug 16, Olaf Hering wrote:
>> For some reasons ls -l /proc/$$/exe doesnt work all time for me,
>> with on ppc64. Sometimes it does, sometimes not. No pattern.
>> A few printks show that this check in proc_pid_readlink() triggers
>> an -EACCES:
>> current->fsuid != inode->i_uid
>> proc_pid_readlink(755) error -13 ntptrace(11408) fsuid 100 i_uid 0 0
>> sys_readlink(281) ntptrace(11408) error -13 readlink
> A better one, clear both new fields, just in case.



Andreas Schwab, SuSE Labs,
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:05    [W:0.045 / U:0.716 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site