Thanks Shane, that did the trick.
The UNIX guys getting the files said they preferred 666 to 777, and I'm not
sure what the difference is, but it was easy enough to fix.
ES
set procfile to quoted form of POSIX path of procfile
set permisionsShell to "chmod 666 " & procfile
do shell script permisionsShell
On 2/10/10 3:38 PM, "Shane Stanley" wrote:
> On 11/2/10 10:24 AM, "Ed Stockly" <[log in to unmask]> wrote:
>
>> Is there a do shell script that can do this?
>
> Probably:
>
> do shell script "chmod 777 " & quoted form of POSIX path of ...
>
> For directories or packages where you want the whole contents changed:
>
> do shell script "chmod -R 777 " & quoted form of POSIX path of ...
>