Mac OS完全不具有usr/bin文件夹的权限 [英] Mac OS don't have permission to usr/bin folder at all

查看:1337
本文介绍了Mac OS完全不具有usr/bin文件夹的权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试为补丁问题重命名"codesign"文件名,但是我很累,并且似乎只能对usr/bin

I am trying to rename the "codesign" file name for patch problem, but I tired everything and seems like I can only have read access to the filea inside usr/bin

  1. 文件夹权限系统"设置为读写"
  2. 我正在使用管理员帐户

我尝试过的方法: 使用sudo -i进入终端以获取对usr/bin的root访问权以进行重命名.在重命名命令中键入mv codesign codesign_10.11仍然会收到无法执行操作的错误

What I have tried: Going into terminal using sudo -i to get root access to usr/bin for renaming. Typed in renaming command mv codesign codesign_10.11 still get error of Operation can't be performed

我的权限访问有什么问题?我该如何解决?

What's wrong with my permission access? How can I fix it?

推荐答案

您是否已将Mac OS X升级到"El Capitan"版本?

Have you upgraded Mac OS X to the "El Capitan" version?

如果是这样,即使使用root用户,也无法再修改/System,/bin,/sbin或/usr(/usr/local除外)中的任何内容.他们称此功能为系统完整性保护".

If so, you can't modify anything in /System, /bin, /sbin, or /usr (except /usr/local) anymore, even using the root user. They are calling this "feature" as "System Integrity Protection".

我遇到了同样的问题,并找到了以下解释

I had the same problem and found this explanation here.

这篇关于Mac OS完全不具有usr/bin文件夹的权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆