[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [MiNT] Was: /proc, will be: /sys



> Do we?
> 
> My complaint here is that the whole point of defining a proper interface for
> requesting process information is that you *don't* have to be root to use
> it. And requiring ps.ttp to have root permissions will not work for people
> with FAT filesystems...

Well, you're partially right. But actually, I see this as a feature: when
Fopen() fails on processes not belonging to root etc., I can
restrict/allow (by setting/clearing +s for ps) reading this information by
users, provided I am a root on a multiuser setup connected to the public
network. So I can decide if ps displays all the information, or only an
information about processes belonging to the user who invoked ps.

The other thing is, that when we use a limited filesystem (like FAT is),
we must accept its limited features. Un*x like filesystems do have +s, FAT
does not, and here you have an advantage of using Un*x-like FS instead of
(or: in addition to) FAT. 

Anyway, I don't know if this is still the problem Martin has/had.

--
Konrad M.Kokoszkiewicz
|mail: draco@atari.org                  |  Atari Falcon030 user   |
|http://www.obta.uw.edu.pl/~draco/      | Moderator gregis LATINE |
|http://draco.atari.org                 |       (loquentium)      |

** Ea natura multitudinis est,
** aut servit humiliter, aut superbe dominatur (Liv. XXIV,25)
*************************************************************
** U pospolstwa normalne jest, ze albo sluzy ono unizenie,
** albo bezczelnie sie panoszy.