From: Steve M. Robbins (steve@Nyongwa.CAM.ORG)
Date: 12/09/92


From: steve@Nyongwa.CAM.ORG (Steve M. Robbins)
Subject: /proc permissions problem?
Date: 9 Dec 1992 23:36:12 GMT

Hi,

Funny things are happening with my /proc filesystem under patchlevel 6.
As root, I did:

Nyongwa> ls -l /proc
total 0
dr-xr-xr-x 4 root system 0 Dec 9 18:19 1/
[ ... ]
dr-xr-xr-x 4 rpelleri bbsuser 0 Dec 9 18:19 38056/

Seems good to me. Then I do:

Nyongwa> ls -l /proc/38056
ls: /proc/38056/mem: No such file or directory
ls: /proc/38056/cwd: No such file or directory
ls: /proc/38056/root: No such file or directory
ls: /proc/38056/exe: No such file or directory
ls: /proc/38056/fd: No such file or directory
ls: /proc/38056/lib: No such file or directory
ls: /proc/38056/environ: No such file or directory
ls: /proc/38056/cmdline: No such file or directory
ls: /proc/38056/stat: No such file or directory
total 0

Surely anyone should be able to read this directory? Especially root?

All the processes owned by root are readable by everyone; but any other
userid's processes are unreadable by anyone but the owner.

-- 
Steve Robbins  --  steve@nyongwa.cam.org
You can't get into heaven with a tatoo on your ass.