• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
hdiutil and srcfolder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Prev by Date: Re: Collection classes
  • Next by Date: Re: CoreFoundation and CFDate functions - question on memory de-allocation
  • Previous by thread: Re: Thinking about shareware prices... (was a question about NSDate inside userDefaults)
  • Next by thread: Help - Programmatically creating bindings in Java
  • Index(es):
    • Date
    • Thread