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

Why is Executable Built with Permission 755 instead of 775?


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

This email sent to email@hidden

  • Follow-Ups:
    • Re: Why is Executable Built with Permission 755 instead of 775?
      • From: Shawn Erickson <email@hidden>
  • Prev by Date: Class Model behaves strangely
  • Next by Date: Re: Java Compile Bug - 'Cannot resolve symbol'
  • Previous by thread: Class Model behaves strangely
  • Next by thread: Re: Why is Executable Built with Permission 755 instead of 775?
  • Index(es):
    • Date
    • Thread