Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why is Executable Built with Permission 755 instead of 775?



After reading Apple's "Software Distribution" documentation I decided to
look at the file permisisons inside my .app after packaging into a .pkg and
installing using Installer.app.

I verified, as I read in "Software Distribution", that the process:

  Xcode -> build -> PackageMaker -> Ship -> Installer

preserves the octal permissions of the files as they were in my build.

"Software Distribution" recommends 775 for executables.  However, Xcode
builds my product's executables with 755.

This is easy to fix using chmod in a Shell Script Build Phase, but I was
wondering, am I confused here?  Why does Xcode not build a 775 executable?

Jerry Krinock


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.