Re: Why root?
Re: Why root?
- Subject: Re: Why root?
- From: Deivy Marck Petrescu <email@hidden>
- Date: Fri, 02 Aug 2002 11:34:03 -0400
At 4:17 PM +0100 8/2/02, John Delacour wrote:
Why does this script list the root instead of the user directory...
do shell script "ls -l"
and require us to to "cd ; ls -l" ?
The Terminal takes you to the user directory without any coercion.
So does BBEdit. What happens if a user has no access permission to
the root?
JD
if you type
do shell script "set" and check your result, you will see all the settings for
the do script command. In particular that pwd is "/"
Regards
--
Deivy Petrescu
http://www.dicas.com
_______________________________________________
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.