Re: Having trouble with using administrator privileges in my droplet....
Re: Having trouble with using administrator privileges in my droplet....
- Subject: Re: Having trouble with using administrator privileges in my droplet....
- From: James Nierodzik <email@hidden>
- Date: Tue, 30 Jun 2009 18:12:02 -0500
It looks to me like you are missing a space after your file path before the cp destination. Here is a shorter version though
on open fileList repeat with aFile in fileList set posixQuoted to quoted form of POSIX path of aFile do shell script "/bin/chmod 333 " & posixQuoted & ";/bin/cp " & posixQuoted & " /usr/local/bin" with administrator privileges end repeat end open
James Nierodzik P Please consider the environment before printing this email. On Jun 30, 2009, at 4:55 PM, OSullivan, Steven wrote: privileges |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden