pileofrogs has asked for the wisdom of the Perl Monks concerning the following question:
I'm writing some tests of file ownership, which obviously are pointless if the system isn't a multi-user system. Is there a best way to determine if the system my thing is running on is in fact a multi-user system?
Thanks!
-Pileofrogs
Update: Thanks for your responses! I'll try to clarify my question:
Another Update: Oh, and you can have Os's with multiple file systems, some of which do and some of which do not support the idea of file ownership.... Ugh...
I think I'd really like a command or set of commands that will succeed in on a system that supports the idea of file ownership and fail on a system that does not.
Yet Another Update: When I say, I'd like to avoid checking a big list of operating systems, I mean I'd like this to work on an OS I've never heard of. I'd like it to work on an OS that doesn't exist yet.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Is it multi-user?
by virtualsue (Vicar) on Dec 04, 2005 at 17:51 UTC | |
|
Re: Is it multi-user?
by jonadab (Parson) on Dec 04, 2005 at 18:56 UTC | |
by ChemBoy (Priest) on Dec 05, 2005 at 01:04 UTC | |
|
Re: Is it multi-user?
by GrandFather (Saint) on Dec 04, 2005 at 21:40 UTC |