• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Permissions when new folder made
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Permissions when new folder made (From: Simon Forster <email@hidden>)

  • Prev by Date: Re: Alter Script for OSX
  • Next by Date: Re: Alter Script for OSX
  • Previous by thread: Permissions when new folder made
  • Next by thread: Re: Permissions when new folder made
  • Index(es):
    • Date
    • Thread