MACSCRPT Archives

October 2007

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:
Mark Lively <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Mon, 1 Oct 2007 10:04:43 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (51 lines)
On Oct 1, 2007, at 9:51 AM, jeff donovan wrote:

> greetings
>
> I am getting an error and I don't know how to get around it.
>
> I need to set an Access List on OSX server like this;
>
> chmod +a "drfoo allow  
> list 
> ,add_file 
> ,search 
> ,delete 
> ,add_subdirectory 
> ,delete_child 
> ,readattr 
> ,writeattr 
> ,readextattr 
> ,writeextattr 
> ,readsecurity,writesecurity,chown,file_inherit,directory_inherit"  
> drfoo
>
> In my script, I don't know how to handle the quotes " "'s
>
> typically i would
> do shell script " something "
> in this case I have
> do shell script " " <--- thats not right. how can iget around this ?
>
> -j
>


do shell script "chmod +a \"drfoo allow  
list 
,add_file 
,search 
,delete 
,add_subdirectory 
,delete_child 
,readattr 
,writeattr 
,readextattr 
,writeextattr 
,readsecurity,writesecurity,chown,file_inherit,directory_inherit\"  
drfoo"

-Mark
I want a hyphens between fish and and and and and chips, in my fish  
and chips sign.

ATOM RSS1 RSS2