• 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: deployment build permissions error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: deployment build permissions error


  • Subject: Re: deployment build permissions error
  • From: Chris Espinosa <email@hidden>
  • Date: Sat, 18 Dec 2004 22:17:28 -0800

On Dec 18, 2004, at 8:22 PM, Andy Wiese wrote:

When I do a deployment build of a framework target, if the framework already exists at the install location, I get a permissions error from pbxcp:
<x-tad-smaller>pbxcp: /Users/andy/Library/Frameworks/m_core.framework/Versions/A/Headers/m_core.h: Permission denied
pbxcp: error: open(): /Users/andy/Library/Frameworks/m_core.framework/Versions/A/Headers/m_core.h: Permission denied

</x-tad-smaller>
I can avoid this problem by deleting the old framework first, but I would rather not have to. Is there a workaround?

Hmmm. How did the older copy get there in the first place? Was it installed by a process with admin authorization, perhaps?

The way we do this is to do deployment-builds-for-installation with the xcodebuild command-line tool, and preface it with 'sudo', so the build and install is done with admin privileges. But user-land operations like the above will fail afterwards, as you note.

Chris
 _______________________________________________
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: deployment build permissions error
      • From: Andy Wiese <email@hidden>
References: 
 >deployment build permissions error (From: Andy Wiese <email@hidden>)

  • Prev by Date: Re: Can code completion in Xcode 1.5 be enabled for other Java packages?
  • Next by Date: Re: xcode 1.5 warning
  • Previous by thread: deployment build permissions error
  • Next by thread: Re: deployment build permissions error
  • Index(es):
    • Date
    • Thread