Re: Permissions when new folder made
Re: Permissions when new folder made
- Subject: Re: Permissions when new folder made
- From: Doug McNutt <email@hidden>
- Date: Mon, 26 Apr 2004 09:37:13 -0600
At 14:41 +0100 4/26/04, Simon Forster wrote:
>
I've go an AppleScript which mounts a remote volume, checks for the existence of a directory and, if it's not there, creates a new directory before dropping images into it.
>
>
2) How can I set the new directory to have permissions of 777? Do I have to "do shell script..."?
umask is probably involved. The default is 022 (8) which translates to the 755 you see.
In a real UNIX login file you could set your umask to 000 but there is no way to do that in AppleScript. There is no named environment variable that could be set in environment.plist either.
Do Shell Script each time or, with luck, someone will report something out of the Finder dictionary.
--
--> There are 10 kinds of people: those who understand binary, and those who don't <--
_______________________________________________
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.