hdiutil and srcfolder
hdiutil and srcfolder
- Subject: hdiutil and srcfolder
- From: Ian McGregor <email@hidden>
- Date: Thu, 8 Jan 2004 11:53:06 -0800
I am trying to use hdituil from the command line to create an image of
a folder with original ownerships in tact.
For example, I have a user "postgres" in /Users/posgres which I wish to
back up.
hdiutil create -fs HFS+ -srcfolder postgres -noanyowners
users-postgres.dmg
I cannot get hdiutil to keep the ownerships in tact, it always assigns
my currently logged in user (though never root) and unknown for group.
In the example above it should be assigning postgres for user and group
to each file.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.