MACSCRPT Archives

February 2010

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Stockly, Ed" <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Wed, 10 Feb 2010 18:07:04 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (29 lines)
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 ...
> 

ATOM RSS1 RSS2