[Feedback on issues] v25 安装ollama 无法创建 /usr/share/ollama 目录
Tofloor
poster avatar
yohow
deepin
2025-07-15 03:29
Author

使用了sudo来安装也无法在这个目录里面创建文件,导致安装不完整,无法正常运行服务,这种问题怎么解决

Reply Favorite View the author
All Replies
天空之城Top
deepin
2025-07-15 08:50
#1

是不是没关磐石,目录只读

Reply View the author
remyxo
deepin
2025-07-15 09:00
#2

目前对于安装到/usr的应用(Easyonnect、ollama等)没有好的办法,只有关闭磐石。

请研发考虑一下这类应用是不是可以考虑白名单方式,允许受信任的应用访问磐石?就类似防火墙规则一样。

Reply View the author
dxy2020
deepin
2025-07-15 09:19
#3

sudo deepin-immutable-writable set whitelist /usr

Reply View the author
yohow
deepin
2025-07-15 12:00
#4
天空之城Top

是不是没关磐石,目录只读

磐石在哪里关啊

Reply View the author
yohow
deepin
2025-07-15 12:03
#5
remyxo

目前对于安装到/usr的应用(Easyonnect、ollama等)没有好的办法,只有关闭磐石。

请研发考虑一下这类应用是不是可以考虑白名单方式,允许受信任的应用访问磐石?就类似防火墙规则一样。

支持,之前我安装virtualbox也一样安装不了,不过好在应用商城有这个软件可以直接安装,但是应用商城不可能什么软件都函盖有

Reply View the author
yohow
deepin
2025-07-15 12:04
#6
dxy2020

sudo deepin-immutable-writable set whitelist /usr

这个命令是给这个目录开启写的权限吗

Reply View the author
yohow
deepin
2025-07-15 12:17
#7
dxy2020

sudo deepin-immutable-writable set whitelist /usr

截图_选择区域_20250715121630.png还是一样无法创建目录

Reply View the author
yohow
deepin
2025-07-15 13:19
#8
dxy2020

sudo deepin-immutable-writable set whitelist /usr

找开方法了,需要加上 sudo deepin-immutable-writable enable 这个命令才会生效

Reply View the author
mhduiy
deepin
2025-07-16 10:55
#9

sudo deepin-immutable-ctl admin exec -- <命令> 可以在不关闭磐石的情况下修改,不过建议少用,磐石就保护不住了

Reply View the author