PBXCp permission problems with xcodebuild
PBXCp permission problems with xcodebuild
- Subject: PBXCp permission problems with xcodebuild
- From: Erich Ocean <email@hidden>
- Date: Mon, 2 May 2005 14:52:05 -0700
Hi,
When I issue the following command when
/Users/ocean/Ampede/LayerLinkPlugin/Install/ is empty, everything works
fine:
xcodebuild clean install
OBJROOT=/Users/ocean/Ampede/LayerLinkPlugin/Install/ DSTROOT=/
INSTALL_PATH='/Users/ocean/Ampede/LayerLinkPlugin/Install/'
DEPLOYMENT_LOCATION=YES
GCC_PREFIX_HEADER=LayerLinkPlugin_Install_Prefix.pch
If I modify a file in the project and issue the command again, I get
the following error(s):
=== CLEANING NATIVE TARGET LayerLinkPlugin WITHOUT USING ANY BUILD
STYLE ===
Clean.Remove clean
/Users/ocean/Ampede/LayerLinkPlugin/Install/LayerLinkPlugin.bundle
/bin/rm -rf
/Users/ocean/Ampede/LayerLinkPlugin/Install/LayerLinkPlugin.bundle
rm:
/Users/ocean/Ampede/LayerLinkPlugin/Install/LayerLinkPlugin.bundle/
Contents/Info.plist: Permission denied
rm:
/Users/ocean/Ampede/LayerLinkPlugin/Install/LayerLinkPlugin.bundle/
Contents/MacOS/LayerLinkPlugin: Permission denied
rm:
/Users/ocean/Ampede/LayerLinkPlugin/Install/LayerLinkPlugin.bundle/
Contents/MacOS: Permission denied
rm:
/Users/ocean/Ampede/LayerLinkPlugin/Install/LayerLinkPlugin.bundle/
Contents/Resources/about.png: Permission denied
rm:
/Users/ocean/Ampede/LayerLinkPlugin/Install/LayerLinkPlugin.bundle/
Contents/Resources/English.lproj/InfoPlist.strings: Permission denied
rm:
/Users/ocean/Ampede/LayerLinkPlugin/Install/LayerLinkPlugin.bundle/
Contents/Resources/English.lproj: Permission denied
rm:
/Users/ocean/Ampede/LayerLinkPlugin/Install/LayerLinkPlugin.bundle/
Contents/Resources/motion-effect.icns: Permission denied
rm:
/Users/ocean/Ampede/LayerLinkPlugin/Install/LayerLinkPlugin.bundle/
Contents/Resources/version.plist: Permission denied
rm:
/Users/ocean/Ampede/LayerLinkPlugin/Install/LayerLinkPlugin.bundle/
Contents/Resources: Permission denied
rm:
/Users/ocean/Ampede/LayerLinkPlugin/Install/LayerLinkPlugin.bundle/
Contents: Permission denied
rm: /Users/ocean/Ampede/LayerLinkPlugin/Install/LayerLinkPlugin.bundle:
Directory not empty
** CLEAN FAILED **
=== BUILDING NATIVE TARGET LayerLinkPlugin WITHOUT USING ANY BUILD
STYLE ===
PBXCp Install/LayerLinkPlugin.bundle/Contents/Resources/version.plist
version.plist
cd /Users/ocean/Ampede/LayerLinkPlugin
/Developer/Tools/pbxcp -exclude .DS_Store -exclude CVS
-strip-debug-symbols -resolve-src-symlinks
/Users/ocean/Ampede/LayerLinkPlugin/version.plist
/Users/ocean/Ampede/LayerLinkPlugin/Install/LayerLinkPlugin.bundle/
Contents/Resources
PBXCp
Install/LayerLinkPlugin.bundle/Contents/Resources/English.lproj/
InfoPlist.strings English.lproj/InfoPlist.strings
cd /Users/ocean/Ampede/LayerLinkPlugin
/Developer/Tools/pbxcp -exclude .DS_Store -exclude CVS
-strip-debug-symbols -resolve-src-symlinks
/Users/ocean/Ampede/LayerLinkPlugin/English.lproj/InfoPlist.strings
/Users/ocean/Ampede/LayerLinkPlugin/Install/LayerLinkPlugin.bundle/
Contents/Resources/English.lproj
pbxcp:
/Users/ocean/Ampede/LayerLinkPlugin/Install/LayerLinkPlugin.bundle/
Contents/Resources/version.plist: Permission denied
pbxcp: error: open():
/Users/ocean/Ampede/LayerLinkPlugin/Install/LayerLinkPlugin.bundle/
Contents/Resources/version.plist: Permission denied
pbxcp:
/Users/ocean/Ampede/LayerLinkPlugin/Install/LayerLinkPlugin.bundle/
Contents/Resources/English.lproj/InfoPlist.strings: Permission denied
pbxcp: error: open():
/Users/ocean/Ampede/LayerLinkPlugin/Install/LayerLinkPlugin.bundle/
Contents/Resources/English.lproj/InfoPlist.strings: Permission denied
** BUILD FAILED **
I can remove the offending directories by dragging them to the trash,
after which the command will work again.
Any ideas on what's happening here? Why can't xcodebuild remove files
it created? I *thought* xcodebuild ran with elevated permissions, so
that it could install into privledged directories, but I can't install
into them, due to similar permissions problems, which is why I'm just
installing into my home directory.
I'm running Xcode 1.5 on Panther.
Best, Erich
_______________________________________________
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