[Feature Requests] ping 命令竟然需要root权限
Tofloor
poster avatar
夜行者
deepin
2025-08-30 15:24
Author

image.png

Reply Favorite View the author
All Replies
fhy
deepin
2025-08-30 15:41
#1

我升级完也发现了 执行:sudo chmod u+s /bin/ping

Reply View the author
夜行者
deepin
2025-08-30 16:43
#2
fhy

我升级完也发现了 执行:sudo chmod u+s /bin/ping

image.png

Reply View the author
骑木马的哥哥
deepin
2025-08-30 19:49
#3
夜行者

image.png

文件只读了,先给写入权限。

执行 sudo chmod +w /bin/ping

然后再执行一楼的命令看看呢。

Reply View the author
东方大坏旦
deepin
2025-08-30 21:22
#4

我的也这样,试了上面给的方法都无效,问AI也给了3种方法一样无效,最后给了个临时方案,通过sudo执行临时获取权限,就是在ping前面加了sudo才行,谁能给个有效的办法吗?

image.png

Reply View the author
阿白
deepin
2025-08-31 02:30
#5

应该是磐石系统的问题吧,自从deein系统加入这个所谓的磐石系统我就没用过了,太难用了。

Reply View the author
tacat
deepin
2025-08-31 15:08
#6

不建议 u+s ,建议用 setcap cap_net_raw+ep

因为这是 iputils-ping 包里的操作

image.png

Reply View the author
xuqi
deepin testing team
2025-09-03 10:07
#7
  • 感谢反馈,该问题我们之前已识别到并优化,稍后会推送更新 ~
Reply View the author