无法在 Mac 中使“应用程序”文件夹可写
我的 Vuze 无法自行更新,因为它声称我的应用程序文件夹不可写。
我尝试使其可写,但
chmod 777 /Applications
出现以下错误
$chmod 777 /Applications/
chmod: /Applications/: Operation not permitted
How can you make /Applications 文件夹可写?
My Vuze cannot update itself as it claims that my application folder is not writeable.
I tried to make it writeable by
chmod 777 /Applications
I get the following error
$chmod 777 /Applications/
chmod: /Applications/: Operation not permitted
How can you make /Applications folder writeable?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
假设您的帐户具有管理员权限,请尝试:
然后输入您的密码。
starblue 提到的危险是,通过这样做,您基本上允许系统上的任何用户对您的应用程序文件夹进行完全的读/写/执行访问。
我希望很明显为什么这通常是一个坏主意,你知道自己在做什么,等等。
编辑进一步添加:如果你只是想给自己写访问权限,你可能会更好:
而不是授予每个人完全访问权限。
Assuming your account has admin privileges, try:
And then enter your password.
The danger that starblue mentioned is that by doing this, you are allowing essentially any user on your system full and complete read/write/execute access to your Applications folder.
I hope it's apparent why this is normally, probably a bad idea, that you know what you're doing, etc. etc.
Edited to further add: if you just want to give yourself write access, you're probably much better off with:
rather than granting everyone complete access.
您可能不是 root,因此无法修改该目录。
如果您确实、确实想要执行此操作,请在命令前面添加“sudo”,这将为命令的运行提供 root 访问权限。
您是否真的需要这样做,这取决于您。
You're likely not root, and as such cannot modify that directory.
If you really, really want to do this, add 'sudo' in front of your command, that will give the run of the command root access.
Whether you really need to do this, that's up to you.
在 OS X 上,用户通常可以在“应用程序”文件夹中添加或删除应用程序,但无法修改应用程序。 根据尝试更新自身的应用程序,您也许可以删除它,或者您可以 chmod -R u+w 应用程序包本身。 不过,您不想对整个应用程序目录执行此操作。
On OS X, users can typically add or delete apps from the Applications folder, but can't modify apps. Depending on the app that's trying to update itself, you may be able to delete it, or you could chmod -R u+w the app bundle itself. You wouldn't want to do it for the whole Applications directory, though.
sudo chmod -R 755 /directory
或为所有用户制作:777
但要小心这样做..
sudo chmod -R 755 /directory
or to make it for all users: 777
Be careful doing this though..
尝试运行磁盘工具的修复权限按钮。
Try running the Disk Utility's Repair Permissions button.