Love-in-idleness 第一次在星火里面下wechat新版,结果发现打不开 我的系统环境是ubuntu24.04 我试着 cd /opt/apps/store.spark-app.wechat-linux-spark/files/ ./launch.sh 然而 bwrap: setting up uid map: Permission denied 当然,如果 sudo ./lauchu.sh 是可以启动的。但这种做法显然是不好的 本人是linux小白,不懂bwrap,想问一下这个问题该如何解决
shenmo7192 Love-in-idleness https://github.com/Warzone2100/warzone2100/issues/3741#issuecomment-2074083951 似乎和ubuntu的apparmor策略有关
游沂 Love-in-idleness 解决方法: 在/etc/apparmor.d/目录中新建bwrap文件并编辑 $ sudo vim /etc/apparmor.d/bwrap 添加以下内容:(注意缩进) abi <abi/4.0>, include <tunables/global> profile bwrap /usr/bin/bwrap flags=(unconfined) { userns, #Site-specific additions and overrides. See local/README for details. include if exists <local/bwrap> } 重载配置 sudo systemctl reload apparmor