Haroopad 无法启动,报错如下,如何解决?
Tofloor
poster avatar
thomaslee
deepin
2015-02-20 08:48
Author
双击启动 Haroopad 后不显示图形界面,但是top一下却能看到其进程。

在terminal里使用命令启动,则会弹出如下错误信息:
[3515:0220/004338:ERROR:browser_main_loop.cc(162)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki ... evelopment for more information on developing with the sandbox on.
DeepinScreenshot20150220004719.png
我以为是我没装chromium,(可就在今天下午我还在用啊),不管三七二十一,我又装了chromium,问题并没有解决。

逛archlinux的论坛 (https://aur.archlinux.org/packages/haroopad/)时,发现他们也遇到了类似问题。但是他们说sudo haroopad是可以运行的,就是root身份。的确可以运行,可是,普通用户为何就不行呢?究竟是哪里出了问题呢?

求大神教我做人……
Reply Favorite View the author
All Replies
infoflow
deepin
2015-02-20 09:21
#1
可能是权限的问题。SUID的作用就是使普通用户可以像root一样的用一个程序,权限提升了。而你现在不能用普通用户运行的程序的SUID位可能被去掉了。
我们可以测试一下,如果去掉ping的SUID位,再用普通用户去运行命令,看会怎么样。
  1. [root@sgrid5 bin]#chmod u-s /bin/ping
  2. [root@sgrid5 bin]# ls -l ping
  3. -rwxr-xr-x 1 root root 28628 Jan 25 2003 ping
  4. [root@sgrid5 bin]#su test
  5. [test@sgrid5 bin]$ ping byhh.net
  6. ping: icmp open socket: Operation not permitted
Copy the Code
所以解决思路就是找到你的可执行程序执行chmod u+s  试试。
Reply View the author