Re: hdiutil -create needs sudo for creating disk images?
Re: hdiutil -create needs sudo for creating disk images?
- Subject: Re: hdiutil -create needs sudo for creating disk images?
- From: Marc Poirier <email@hidden>
- Date: Fri, 14 Nov 2003 00:40:56 -0600 (CST)
On Thu, 13 Nov 2003 Izidor Jerebic wrote:
> Well, it turns out that the problem was in file ownership flags, but a
> strange one - if I copy the built product (via 'cp' or 'gnutar'), I can
> package the resulting product with "hdiutil create -srcfolder ...".
>
> The only difference (as I can find) is in the owner group setting of
> the files, which is 'wheel' in files created by Xcode. Now where this
> comes from, I do not know, but it seems it is a problem, probably
> because 'hdiutil' cannot set the owner group to wheel on copied
> files....
>
> But where can I change this setting and why is it set as it is?
>
> In Xcode I can see these Deployment buildstyle settings: Install owner
> = "NO", Install group = "" (empty), Install mode flag = "ugo-w,o+rX".
>
> What should I do to make all tools feel allright?
The problem is the "ugo-w" part, which removes write privileges for
everyone! Ohhh, I've said it before (with Project Builder) and I'll say it
again: why oh why is such an extremely restrictive permissions setting
the default for install mode? I prefer to use "a+rX,u+w". Unless you're
making kernel extensions or core pieces of the OS (which most of us are
not), then that default setting is really inappropriate.
Marc
_______________________________________________
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.