小编Jor*_*rik的帖子

程序文件存在于/usr/bin中,但无法使用

显然我的文件存在于 /usr/bin

$ ls /usr/bin/ngrok
/usr/bin/ngrok
Run Code Online (Sandbox Code Playgroud)

但是,当我尝试chown它时,我收到一个错误

$ sudo chown my_user:users /usr/bin/ngrok
chown: cannot dereference '/usr/bin/ngrok': No such file or directory
Run Code Online (Sandbox Code Playgroud)

进一步尝试运行它也失败了!

$ ngrok
bash: ngrok: command not found
$ sudo /usr/bin/ngrok
sudo: /usr/bin/ngrok: command not found
Run Code Online (Sandbox Code Playgroud)

这里发生了什么?

linux unix filesystems file-permissions

15
推荐指数
2
解决办法
4101
查看次数

标签 统计

file-permissions ×1

filesystems ×1

linux ×1

unix ×1