Re: Why root?
Re: Why root?
- Subject: Re: Why root?
- From: garbanzito <email@hidden>
- Date: Fri, 2 Aug 2002 14:20:17 -0600
at 2002 08 02, 12:41 -0700, they whom i call Christopher Nebel wrote:
Because "do shell script", or rather the "sh" process that it
invokes, inherits the working directory of its parent, and the
Finder launches everything with a working directory of "/".
that's good to know
If a user didn't have read permission for /, they'd get an empty
result, because "ls" returns 0 even if it failed with EPERM. An
admin would have to muck with that, though -- / is readable by
everyone by default.
/ is readable by everyone by necessity. try
sudo chmod 700 /
and watch everything fail, including any attempt to reverse
such action.. WARNING: don't try this unless you are
comfortable with superuser mode to unhose your system!
--
steve harley email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
References: | |
| >Re: Why root? (From: Christopher Nebel <email@hidden>) |