Re: Setting permission from an applescript
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