我可以更改权限
所以我的“代码”。命令不起作用。我发现我看到的错误
/usr/local/bin/code2: line 6: python: command not found
/usr/local/bin/code2: line 10: ./MacOS/Electron: No such file or directory
是我只需要将python
更改为python3
在code> code
file file in /usr/usr/local/bin中
。除非我更改文件,否则我无法通过更改保存。我遇到各种错误,告诉我我没有许可来更改它。因此,我查找如何更改它,然后说单击在文件上获取信息
,然后更改共享和权限部分中的权限。但是我的获取信息
没有共享和权限部分!
我该怎么办?
PS:我意识到,如果我在整个bin
目录上进行获取信息,我可以看到权限。我做到了,以便每个人都可以阅读&写。除了我仍然无法保存代码
文件的更改版本。我仍然不知道该怎么办。
So my "code ." command doesn't work. I get the error
/usr/local/bin/code2: line 6: python: command not found
/usr/local/bin/code2: line 10: ./MacOS/Electron: No such file or directory
I saw that I just have to change python
to python3
in the code
file in /usr/local/bin
. Except when I change the file, I'm unable to save it with the change. I get all sorts of errors telling me I don't have permission to change it. So then I look up how to change it, and it says to click on get info
on the file, and then change the permissions in the sharing and permissions section. But my get info
doesn't HAVE a sharing and permissions section!
What do I do?
PS: I realized I can see permissions if I do get info
on the whole bin
directory. I made it so everyone can read & write. Except I still can't save the altered version of the code
file. I still don't know what to do anymore.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好的,我仍然不知道如何保存
code
文件的编辑版本,但这是我现在如何解决的。现在,我可以使用
代码。
,但我仍然对我的计算机感到不安,因为我不与我合作。Ok I still have no idea how to save an edited version of the
code
file, but here is how I got around it for now.Now I can use
code .
but I'm still very upset with my computer for not cooperating with me. ????