无法在 Mac 中使“应用程序”文件夹可写

发布于 2024-07-15 12:15:07 字数 287 浏览 4 评论 0原文

我的 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

静待花开 2024-07-22 12:15:07

假设您的帐户具有管理员权限,请尝试:

 $sudo chmod 777 /Applications

然后输入您的密码。

starblue 提到的危险是,通过这样做,您基本上允许系统上的任何用户对您的应用程序文件夹进行完全的读/写/执行访问。

我希望很明显为什么这通常是一个坏主意,你知道自己在做什么,等等。

编辑进一步添加:如果你只是想给自己写访问权限,你可能会更好:

 $sudo chmod u+w /Applications

而不是授予每个人完全访问权限。

Assuming your account has admin privileges, try:

 $sudo chmod 777 /Applications

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:

 $sudo chmod u+w /Applications

rather than granting everyone complete access.

香橙ぽ 2024-07-22 12:15:07

您可能不是 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.

小霸王臭丫头 2024-07-22 12:15:07

在 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.

孤独患者 2024-07-22 12:15:07

sudo chmod -R 755 /directory

或为所有用户制作:777

但要小心这样做..

sudo chmod -R 755 /directory

or to make it for all users: 777

Be careful doing this though..

寻找一个思念的角度 2024-07-22 12:15:07

尝试运行磁盘工具的修复权限按钮。

Try running the Disk Utility's Repair Permissions button.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文