Works fine here.

Maybe you try :
set srcPathUnix to quoted form of (POSIX path of srcPath)
set dstPathUnix to quoted form of (POSIX path of savePath)

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

Andreas

On 07.12.2009, at 10:21, Chuck Pelto wrote:

> 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