• 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: Why is Executable Built with Permission 755 instead of 775?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Subject: Re: Why is Executable Built with Permission 755 instead of 775?
  • From: Jerry Krinock <email@hidden>
  • Date: Tue, 31 Jan 2006 17:09:59 -0800
  • Thread-topic: 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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Why is Executable Built with Permission 755 instead of 775?
      • From: Adam Knight <email@hidden>
References: 
 >Re: Why is Executable Built with Permission 755 instead of 775? (From: Shawn Erickson <email@hidden>)

  • Prev by Date: Re: Why is Executable Built with Permission 755 instead of 775?
  • Next by Date: Xcode project hosed?
  • Previous by thread: Re: Why is Executable Built with Permission 755 instead of 775?
  • Next by thread: Re: Why is Executable Built with Permission 755 instead of 775?
  • Index(es):
    • Date
    • Thread