{"thread":{"id":"22017","subject":"Fatal errors on git rm (Operation not permitted)","startedAt":"2009-12-23T17:58:37Z","lastAt":"2009-12-23T17:58:37Z","messageCount":1,"participants":["Xiaolong Tang"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"130285","messageId":"m2pr65373m.wl%xiaolong.snake@gmail.com","threadId":"22017","inReplyTo":null,"subject":"Fatal errors on git rm (Operation not permitted)","fromName":"Xiaolong Tang","fromEmail":"xiaolong.snake@gmail.com","sentAt":"2009-12-23T17:58:37Z","receivedAt":"2009-12-23T17:58:37Z","isPatch":false,"sender":{"key":"xiaolong.snake@gmail.com","avatar":null},"body":"Hi all, \n\nI am running into a trouble with git commands. \n\nI have a repository in my laptop to keep all system settings. \nSpecifally, the reposiroty is illustrated as below:\n \nreproot/\n.git\n.gitignore \n`-- lib\n    `-- emacs\n        `-- lisp\n            |-- dictionary\n            ...\n            |-- git-emacs \n            |   |-- ...\n            |   |-- ...\n            |   |-- ...\n            .. \n            |-- remember  \n\nTo ease the updating of these third-party eamcs packages (e.g. dictionary, git-emacs, remember and so on), I perfer to get them via version control commands. \nFor example, git-emacs is created via this command:\ngit://github.com/tsgates/git-emacs \n\nThis strategy seems to work well when I include (within my laptop repository) those packages which are not managed via git. \nOn the contrary, the trouble arises from including another git repository.\n\nFor example, when I try to clone my laptop repository into my desktop, the package \"git-emacs\" only shows up as an empty directory in the newly repository. \n\nThen when I go back to my laptop repository, there is nothing I can do.\nFinally, I decide to remove this package from my laptop repository, but end up with the following errors:\n\ngit rm -rf git-emacs\nrm 'lib/emacs/lisp/git-emacs'\nfatal: git rm: 'lib/emacs/lisp/git-emacs': Operation not permitted\n\nThe similar errors happen with remvoing remember(another package under git) too.\n11:53:37->git rm -rf remember\nrm 'lib/emacs/lisp/remember'\nfatal: git rm: 'lib/emacs/lisp/remember': Operation not permitted\n\nSo, below are my questions:\nWhat is the real cause of such kind of problem?\nHow could I fix it?\n\nPS: I did not use git submodule command.\n\nThanks!\nXiaolong\n"}]}