Mailing Lists: Apple Mailing Lists

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

Re: Why is Executable Built with Permission 755 instead of 775?



on 06/01/31 16:39, Shawn Erickson at email@hidden wrote:

> On 1/31/06, Jerry Krinock <email@hidden> wrote:
>> 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.
> 
> Are you doing an install build? If so then what is "Install
> Permissions" build setting set to?

My intention is to build this for deployment to customers on unknown
computers, and not for installation on my computer.  I believe that the
answers to your questions are in these target settings:

Deployment Location [not checked]
Installation Build Products Location /tmp/$(PROJECT_NAME).dst
Installation Directory $(HOME)/Applications
Skip Install [not checked]
Install Permissions a-w,a+rX

So, am I doing an "install build"?

Should I be doing an "install build"?

What does "a-w,a+Rx" mean?  It looks like some kind of Reverse Polish
Notation for Permissions.  Can this be translated to a 3-digit octal number
that I can understand, or is it more complicated than that?

Thanks!

Jerry





 _______________________________________________
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

References: 
 >Re: Why is Executable Built with Permission 755 instead of 775? (From: Shawn Erickson <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.