git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Xiaolong Tang <xiaolong.snake@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Fatal errors on git rm (Operation not permitted)
Date: Wed, 23 Dec 2009 10:33:22 -0800	[thread overview]
Message-ID: <7v8wctr159.fsf@alter.siamese.dyndns.org> (raw)
In-Reply-To: <m2oclp36zl.wl%xiaolong.snake@gmail.com> (Xiaolong Tang's message of "Wed\, 23 Dec 2009 12\:01\:02 -0600")

Xiaolong Tang <xiaolong.snake@gmail.com> writes:

> Finally, I decide to remove this package from my laptop repository, but
> end up with the following errors:
>
> git rm -rf git-emacs
> rm 'lib/emacs/lisp/git-emacs'
> fatal: git rm: 'lib/emacs/lisp/git-emacs': Operation not permitted

We don't say "Operation not permitted" ourselves; it is coming from your C
library's strerror(3) when we got EPERM error back.  The reason you get
EPERM can vary depending on your platform and what you did to your
directories yourself, but googling for "Operation not permitted" and
randomly reading a few might give you hints.

  reply	other threads:[~2009-12-23 18:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-23 18:01 Fatal errors on git rm (Operation not permitted) Xiaolong Tang
2009-12-23 18:33 ` Junio C Hamano [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-12-23 17:58 Xiaolong Tang

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=7v8wctr159.fsf@alter.siamese.dyndns.org \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=xiaolong.snake@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).