Fakeroot on macOS tries to delete system directories

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












I’m having a problem with fakeroot on macOS. I created a pacman fork. When I’d like to delete a package, pacman tries to delete /usr/ instead of a subdirectory. On Linux, it is working fine, though.



Error output:



~ sudo meme -R but-why
checking dependencies...

Packages (1) but-why-1.0-1

Total Removed Size: 3.75 MiB

:: Do you want to remove these packages? [Y/n] y
:: Processing package changes...
error: cannot remove file '/usr/': Operation not permitted






share|improve this question



















  • how are we to know what is wrong with your code when you have not posted the code as part of your question.
    – user3629249
    Jun 29 at 16:59














up vote
1
down vote

favorite












I’m having a problem with fakeroot on macOS. I created a pacman fork. When I’d like to delete a package, pacman tries to delete /usr/ instead of a subdirectory. On Linux, it is working fine, though.



Error output:



~ sudo meme -R but-why
checking dependencies...

Packages (1) but-why-1.0-1

Total Removed Size: 3.75 MiB

:: Do you want to remove these packages? [Y/n] y
:: Processing package changes...
error: cannot remove file '/usr/': Operation not permitted






share|improve this question



















  • how are we to know what is wrong with your code when you have not posted the code as part of your question.
    – user3629249
    Jun 29 at 16:59












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I’m having a problem with fakeroot on macOS. I created a pacman fork. When I’d like to delete a package, pacman tries to delete /usr/ instead of a subdirectory. On Linux, it is working fine, though.



Error output:



~ sudo meme -R but-why
checking dependencies...

Packages (1) but-why-1.0-1

Total Removed Size: 3.75 MiB

:: Do you want to remove these packages? [Y/n] y
:: Processing package changes...
error: cannot remove file '/usr/': Operation not permitted






share|improve this question











I’m having a problem with fakeroot on macOS. I created a pacman fork. When I’d like to delete a package, pacman tries to delete /usr/ instead of a subdirectory. On Linux, it is working fine, though.



Error output:



~ sudo meme -R but-why
checking dependencies...

Packages (1) but-why-1.0-1

Total Removed Size: 3.75 MiB

:: Do you want to remove these packages? [Y/n] y
:: Processing package changes...
error: cannot remove file '/usr/': Operation not permitted








share|improve this question










share|improve this question




share|improve this question









asked Jun 28 at 10:15









oioioi

112




112











  • how are we to know what is wrong with your code when you have not posted the code as part of your question.
    – user3629249
    Jun 29 at 16:59
















  • how are we to know what is wrong with your code when you have not posted the code as part of your question.
    – user3629249
    Jun 29 at 16:59















how are we to know what is wrong with your code when you have not posted the code as part of your question.
– user3629249
Jun 29 at 16:59




how are we to know what is wrong with your code when you have not posted the code as part of your question.
– user3629249
Jun 29 at 16:59















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f452401%2ffakeroot-on-macos-tries-to-delete-system-directories%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f452401%2ffakeroot-on-macos-tries-to-delete-system-directories%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

Peggy Mitchell

Palaiologos

The Forum (Inglewood, California)