• 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
Re: Permissions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Permissions


  • Subject: Re: Permissions
  • From: Justin Walker <email@hidden>
  • Date: Fri, 20 May 2005 13:37:15 -0700


On May 20, 2005, at 12:21, Casey Fleser wrote:

Is Install Owner = root / Install Group = admin supposed to work in XCode? I get the following:

SetOwnerAndGroup "root:admin" "/Library/Application Support/xxx/Helper Apps/foo.app"
cd /Users/casey/Documents/Projects/Griffin/xxx/BasicSuite
/usr/sbin/chown -RH "root:admin" "/Library/Application Support/xxx/Helper Apps/foo.app"
chown: /Library/Application Support/xxx/Helper Apps/foo.app/Contents/Info.plist: Operation not permitted
chown: /Library/Application Support/xxx/Helper Apps/foo.app/Contents/MacOS/foo: Operation not permitted
chown: /Library/Application Support/xxx/Helper Apps/foo.app/Contents/MacOS: Operation not permitted
chown: /Library/Application Support/xxx/Helper Apps/foo.app/Contents/PkgInfo: Operation not permitted


Prior to Tiger/XCode 2, I was using a script owned by root:admin with the setuid bit set that chown'd the relevant bits to root:admin, but this also fails now with Operation not permitted. Any way around this?

This isn't Xcode's issue. Some past releases (prior to 10.4) permitted shell scripts to be executed with setuid privileges. This was a security issue, and has been changed.


Regards,

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for General Semantics
--------
If you're not confused,
You're not paying attention
--------

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Permissions (From: Casey Fleser <email@hidden>)

  • Prev by Date: Re: Moving projects about
  • Next by Date: Re: more errors
  • Previous by thread: Permissions
  • Next by thread: Compile errors aren't so good
  • Index(es):
    • Date
    • Thread