• 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: Setting permission from an applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting permission from an applescript


  • Subject: Re: Setting permission from an applescript
  • From: Christopher Nebel <email@hidden>
  • Date: Mon, 18 Apr 2005 09:21:02 -0700

On Apr 14, 2005, at 9:37 PM, Malcolm Fitzgerald wrote:

On 15/04/2005, at 1:49 PM, Todd Geist wrote:

So does anyone have an Applescript that can set execute privs on a file?

do shell script "chmod 755 ~/desktop/test"

A better way to do this would be

    do shell script "chmod +x ~/desktop/test"

man chmod for details, but the basic point is to not touch more permission bits than you need to.


--Chris Nebel AppleScript Engineering

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Setting permission from an applescript (From: Todd Geist <email@hidden>)
 >Re: Setting permission from an applescript (From: Malcolm Fitzgerald <email@hidden>)

  • Prev by Date: Re: Check to see if folder contains items?
  • Next by Date: Re: How to Renew DHCP Lease
  • Previous by thread: Re: Setting permission from an applescript
  • Next by thread: Re: Setting permission from an applescript
  • Index(es):
    • Date
    • Thread