On 6/16/05, Dan Wilga <dwilga at mtholyoke.edu> wrote:
> >On 6/10/05, Dan Wilga <dwilga at mtholyoke.edu> wrote:
> >> At 6:34 PM -0500 6/9/05, Matt wrote:
> >> >Running CVS, when I go into the system status, when I try to view the
> >> >Swap it shows "Unknown". It used to work just fine until I upgraded
> >> >to latest CVS recently. Any ideas?
> >>
> >> Swap shows just fine for me, as of a CVS version from about a week
> >> ago. Perhaps when you upgraded the setuid bit was lost, and the user
> >> you're running mythfrontend as can get to /proc ?
> >> --
> >
> >So how could I fix that?
>> First:
>> ls -ld /proc
>> If you see something like:
>> dr-xr-x--- 219 root system 0 May 31 09:37 /proc
>> then the mode "dr-xr-x---" means that only root and people in the
> group called "system" can read /proc. One way around this would be to
> add whatever user you run mythfrontend as to the system group. (pico
> /etc/group)
>> Another way would be to use setuid on mythfrontend. Have a look at
> Jarod's guide. I'm sure it's in there somewhere.
>> If the mode on the directory is already "dr-xr-xr-x", then this
> probably isn't your problem.
>> --
> Dan Wilga dwilga at mtholyoke.edu> Web Administrator http://www.mtholyoke.edu> Mount Holyoke College Tel: 413-538-3027
> South Hadley, MA 01075 "Who left the cake out in the rain?"
>
concord:~# ls -ld /proc
dr-xr-xr-x 149 root root 0 2005-06-16 18:12 /proc