Ubuntu 20.04通过Snap安装Viber遇权限拒绝及资源缺失错误
Snap版Viber出现WebEngine资源缺失与权限错误问题
我尝试了Snap提供的两款Viber包:viber-unofficial.viber和viber-mtd.viber,二者均出现完全相同的WebEngine资源未找到错误,错误日志如下:
sh: 1: xdg-mime: not found Qt WebEngine ICU data not found at /snap/viber-unofficial/37/opt/viber/resources. Trying parent directory... Qt WebEngine resources not found at /snap/viber-unofficial/37/opt/viber/resources. Trying parent directory... [557326:557326:1013/081811.896484:FATAL:credentials.cc(155)] Check failed: NamespaceUtils::DenySetgroups(). : Permission denied #0 0x7f5a59d4d11e base::debug::StackTrace::StackTrace() #1 0x7f5a59d5dbde logging::LogMessage::~LogMessage() #2 0x7f5a59d5de99 logging::ErrnoLogMessage::~ErrnoLogMessage() #3 0x7f5a5aa4ff7c sandbox::(anonymous namespace)::SetGidAndUidMaps() #4 0x7f5a5aa505d5 sandbox::Credentials::CanCreateProcessInNewUserNS() #5 0x7f5a599c0de5 content::ZygoteHostImpl::Init() #6 0x7f5a59673314 content::BrowserMainLoop::EarlyInitialization() #7 0x7f5a59677190 content::BrowserMainRunnerImpl::Initialize() #8 0x7f5a5947cd19 QtWebEngineCore::WebEngineContext::WebEngineContext() #9 0x7f5a5947e135 QtWebEngineCore::WebEngineContext::current() #10 0x7f5a5941b931 QtWebEngineCore::BrowserContextAdapter::defaultContext() #11 0x7f5a6258c618 QQuickWebEngineProfile::defaultProfile() #12 0x0000006ac8bf ApplicationPrivate::preRunningInitialization() #13 0x0000006a6504 ViberApplication::start() #14 0x00000067e25b ViberMain() #15 0x7f5a56403840 __libc_start_main #16 0x0000004d7047 <unknown> Qt WebEngine ICU data not found at /snap/viber-unofficial/37/opt/viber/resources. Trying parent directory... Qt WebEngine resources not found at /snap/viber-unofficial/37/opt/viber/resources. Trying parent directory...
检查了相关目录权限,未发现明显异常,仅Snap包内所有文件均为root/root所有,普通用户无写入权限。
内容的提问来源于stack exchange,提问作者JensenHealey907
相关产品推荐
相关产品推荐

