MACSCRPT Archives

December 2009

MACSCRPT@LISTSERV.DARTMOUTH.EDU

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

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

Print Reply
Mime-Version:
1.0 (Apple Message framework v1077)
Sender:
Macintosh Scripting Systems <[log in to unmask]>
Subject:
From:
Chuck Pelto <[log in to unmask]>
Date:
Mon, 7 Dec 2009 02:21:30 -0700
Content-Type:
text/plain; charset=us-ascii
Content-Transfer-Encoding:
quoted-printable
Reply-To:
Macintosh Scripting Systems <[log in to unmask]>
Parts/Attachments:
text/plain (18 lines)
I had a script for making DMGs of user folders that worked under Tiger.

I've moved to Snow Leopard and now that script fails at this call:

do shell script "hdiutil create -srcfolder '" & srcPathUnix & "' '" & dstPathUnix & "' -format UDZO -ov" user name thisUser password userPW with administrator privileges

Where the srcPathUnix and dstPathUnix are derived from 

set srcPathUnix to (POSIX path of srcPath)
		
set dstPathUnix to (POSIX path of savePath)


Has something changed in how to make the "do shell script" call? 

Regards,

Chuck

ATOM RSS1 RSS2