lkml.org 
[lkml]   [1999]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject/proc weirdness ....
Hello, everybody!

I have found an interesting "feature" in 2.1.129...2.2.0pre4. When I make
"cat /proc/1/cpu" as root, all goes fine. Doing the same as a user gives:

=== Cut ===
[ksi@nomad /]$ cat /proc/1/cpu
cat: /proc/1/cpu: Input/output error
=== Cut ===

Permissions of /proc/1/cpu are 0444, so it should be readable by anyone...
The same operation on a directory for a process owned by the user does
succeed.

What's going on and does anybody care to fix it?

=======================================================================
Serguei Koubouchine aka the Tamer < > The impossible we do immediately.
e-mail: ksi@gu.net SK320-RIPE < > Miracles require 24-hour notice.
=======================================================================


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.040 / U:0.500 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site