通过 docker compose 部署的,目录权限属于 root,但是给了权限 777,目录也是空的,执行 compose 的时候用的 sudo 按理说也是 root 执行的,看到报错 read only [false]
,这是说只有可读权限吗?,有点不理解,求大佬帮忙看一下
目录权限
orangepi@orangepi5:/mnt/sata2-1/siyuan/workspace$ ll
total 8
drwxrwxrwx 2 root root 4096 Aug 17 21:30 ./
drwxr-xr-x 3 root root 4096 Aug 17 21:30 ../
docker file
version: '3'
services:
siyuan:
image: b3log/siyuan
volumes:
- /mnt/sata2-1/siyuan/workspace:/siyuan/workspace
working_dir: /siyuan/workspace/
user: 0:0
# user: myuser:mygroup
ports:
- 6806:6806
#restart: unless-stopped
docker logs
I 2023/12/11 13:29:50 runtime.go:74: kernel is booting:
* ver [2.9.9]
* arch [arm64]
* os [alpine]
* pid [1]
* runtime mode [prod]
* working directory [/siyuan/workspace]
* read only [false]
* container [docker]
* database [ver=20220501]
* workspace directory [/root/SiYuan]
E 2023/12/11 13:29:50 conf.go:405: open language configuration folder [/siyuan/workspace/appearance/langs] failed: open /siyuan/workspace/appearance/langs: no such file or directory
E 2023/12/11 13:29:50 runtime.go:159: check file system status failed: open /siyuan/workspace/appearance/langs: no such file or directory, github.com/siyuan-note/siyuan/kernel/model.initLang()
欢迎来到这里!
我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。
注册 关于