Re: Analyze: fatal error: malformed or corrupted AST file
Re: Analyze: fatal error: malformed or corrupted AST file
- Subject: Re: Analyze: fatal error: malformed or corrupted AST file
- From: Bavarious <email@hidden>
- Date: Tue, 31 Mar 2015 16:25:27 -0300
> On Mar 31, 2015, at 16:17, Jens Alfke <email@hidden> wrote:
>
>
>> On Mar 31, 2015, at 10:33 AM, Kevin Meaney <email@hidden> wrote:
>>
>> Is there a command line command I can use to install from a disk image that keeps the original file permissions?
>
> This will make Xcode entirely read-only so you can’t accidentally save changes to anything:
> chmod -R u-w /Applications/Xcode.app
> (Might need a ‘sudo’ up front.)
>
> Since Xcode has a jillion files inside it, this might take a few minutes to run.
Or use ditto(1). Joar suggested it a while ago:
https://twitter.com/joar_at_work/statuses/472986684196278272
Preserve ownership, permissions and hard links installing Xcode from a dmg:
sudo ditto /Volumes/Xcode/Xcode.app /<destination>/Xcode.app
_______________________________________________
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