小编Hav*_*ves的帖子

Linuxbrew Nodejs - 绑定到端口 80

我想解决本期中描述的相同问题。

因此我想执行以下命令:

$ sudo setcap cap_net_bind_service=+ep /home/username/.linuxbrew/bin/node 
Run Code Online (Sandbox Code Playgroud)

这产生了错误:

Failed to set capabilities on file `/home/username/.linuxbrew/bin/node' (Invalid argument)
The value of the capability argument is not permitted for a file. Or the file is not a regular (non-symlink) file
Run Code Online (Sandbox Code Playgroud)

发生这种情况是因为文件夹名称是.linuxbrew,如果是,我该如何修复它?

port node.js linuxbrew

2
推荐指数
1
解决办法
3054
查看次数

标签 统计

linuxbrew ×1

node.js ×1

port ×1