欢迎访问机房运维工作室

爱数知识库

AnyShare-运行 Linux 客户端报错:You need to make sure that optAnysharechrome- sandbox is

频道:爱数知识库 日期: 浏览:203

AnyShare-运行 Linux 客户端报错:You need to make sure that optAnysharechrome- sandbox is owned by root and h

关键字

Linux 客户端、sandbox、权限

适用产品

  • AnyShare Enterprise 7.0.0-7.0.1.3
  • AnyShare Express 7.0.0-7.0.1.3

问题描述

运行 AnyShare Linux 客户端提示如下错误信息:

You need to make sure that /opt/Anyshare/chrome- sandbox is owned by root and has mode 4755.

问题影响

用户无法正常运行 AnyShare Linux 客户端。

问题原因

chrome- sandbox 文件需要命令执行者在执行该程序时获得该程序文件属主的身份,初始权限不足导致该问题。

解决方案

为了解决此问题,可通过如下方法重新设置 chrome- sandbox 文件权限:

1.使用 root 身份打开 terminal 命令行窗口。

2.使用如下命令对 chrome- sandbox 文件进行权限设置:

chmod 4755 /opt/AnyShare/chrome- sandbox

3.如上图设置成功之后重新使用普通用户身份运行 AnyShare Linux 客户端即可。

更多信息

Linux 操作系统关于 SUID 权限设置,请参照 CSND 社区文章:RHEL8文件权限说明/隐藏权限