Re: deployment build permissions error
Re: deployment build permissions error
- Subject: Re: deployment build permissions error
- From: Andy Wiese <email@hidden>
- Date: Sun, 19 Dec 2004 11:55:08 -0600
On Dec 19, 2004, at 12:17 AM, Chris Espinosa wrote:
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
The older copy was installed by the same Xcode deployment target. I notice that the Headers directory shows the lock icon beside it, although the permissions are read/write. What does that lock icon mean in BSD terms anyway?
_______________________________________________
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