From: Stephen Bash <bash@genarts.com>
To: Spencer Graves <spencer.graves@prodsyse.com>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: can't install on OS X
Date: Fri, 2 Oct 2015 09:41:49 -0400 (EDT) [thread overview]
Message-ID: <136388305.2086780.1443793308932.JavaMail.zimbra@genarts.com> (raw)
In-Reply-To: <2000572217.2086743.1443793295009.JavaMail.zimbra@genarts.com>
----- Original Message -----
> From: "Spencer Graves" <spencer.graves@prodsyse.com>
> Sent: Friday, October 2, 2015 2:50:30 AM
> Subject: can't install on OS X
>
> I downloaded "git-2.5.3-intel-universal-mavericks.dmg" per
> instructions. When I tried to install it, I first had trouble because
> it wasn't from the Mac App Store nor an "identified developer".
You can also right click on the installer and select "Open" for a very similar dialog, but one that gives you the opportunity to run the installer anyway.
> "README.txt" says I need "sudo mv /usr/bin/git /usr/bin/git-system". I
> tried that and got, "mv: rename /usr/bin/git to /usr/bin/git-system:
> Operation not permitted" (after entering my password). [My directory
> now includes "/usr/local/git", and "/usr/bin" includes git,
> git-cvsserver, git-receive-pack, git-shell, git-upload-archive, and
> git-upload-pack.]
>
> Suggestions?
Sounds like you're running afoul of El Capitan's new System Integrity Protection (SIP) [1]. The git commands you're seeing there are probably Apple's thin wrappers that are mostly meant to provide instructions on installing XCode, but SIP is stopping you from modifying the /usr directory (ah, Apple's Infinite Wisdom). There are discussions about working around SIP in the Apple forums [2] and Homebrew has some hints as well [3].
[1] https://developer.apple.com/library/prerelease/mac/releasenotes/MacOSX/WhatsNewInOSX/Articles/MacOSX10_11.html
[2] https://forums.developer.apple.com/thread/3981
[3] https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/El_Capitan_and_Homebrew.md#if-usrlocal-does-not-exist
HTH,
Stephen
next prev parent reply other threads:[~2015-10-02 13:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-02 6:50 can't install on OS X Spencer Graves
2015-10-02 12:02 ` Mike Rappazzo
2015-10-02 13:10 ` Spencer Graves
[not found] ` <2000572217.2086743.1443793295009.JavaMail.zimbra@genarts.com>
2015-10-02 13:41 ` Stephen Bash [this message]
2015-10-02 19:06 ` Spencer Graves
2015-10-11 16:43 ` krist333
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=136388305.2086780.1443793308932.JavaMail.zimbra@genarts.com \
--to=bash@genarts.com \
--cc=git@vger.kernel.org \
--cc=spencer.graves@prodsyse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.