> On Mar 31, 2015, at 16:17, Jens Alfke <[email protected]> wrote: > > >> On Mar 31, 2015, at 10:33 AM, Kevin Meaney <[email protected]> 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 protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com This email sent to [email protected]
