• 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 -create needs sudo for creating disk images?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

hdiutil -create needs sudo for creating disk images?


  • Subject: hdiutil -create needs sudo for creating disk images?
  • From: Izidor Jerebic <email@hidden>
  • Date: Thu, 13 Nov 2003 17:17:24 +0100

Hello!

I am not sure where this topic belongs, but many developers are using hdiutil to create disk images of their applications. And one very early script for doing so in PB was presented by one of Apple developers, so here I go...

Previously I was making the release images the long way (as described in man hdiutil), and now I was pleased that I could do it all with a single command line. But this command (hdiutil -create -srcfolder xxx xxx.dmg) seems to requires root privileges. It cannot be run as a normal user in Xcode custom build command, but can be run as 'sudo hdiutil ...' on a command line in Terminal, naturally requiring password entry. Now why would such a command require root privileges is beyond me. Am I making some mistakes or is this really impossible to do in a script?

izidor
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: New to xCode tools Help with Interface Builder
  • Next by Date: Making headers public in framework
  • Previous by thread: New to xCode tools Help with Interface Builder
  • Next by thread: Re: hdiutil -create needs sudo for creating disk images?
  • Index(es):
    • Date
    • Thread