Comments (6)
可能nfs挂载设置的权限不对吧
from trilium-translation.
开机挂载 fstab
192.1168.1.100:/notebook /opt/notebook nfs hard,rw,nolock,bg,tcp 0 0
mount 命令直接挂载试过,通docker创建nfs挂载卷也试过,权限也就上面几行,都会出问题
from trilium-translation.
ls -al 看看文件所有者是不是变了
from trilium-translation.
docker 建了2个容器,一个直接映射主机系统下自建目录, 一个通NFS挂载的目录
刚看了一下,ls -al
主机系统自建目录 drwxr-xr-x 5 1000 1000 4096 Feb 25 12:39 notebook1
NFS挂载的目录 drwxr-xr-x 6 root root 4096 Feb 25 12:10 notebook2
from trilium-translation.
这个怎么解决 主机用户 root ID 是0, trilium映射后的用户ID 是1000
from trilium-translation.
docker 创建时加参数 puid=0,pgid=0
from trilium-translation.
Related Issues (20)
- 是否可以出一个部署heroku的配置文件? HOT 3
- Linux服务端或者Docker镜像支持外部数据库么?最好是mysql HOT 2
- v0.60.4 中文 20230620 trilium-cn-windows-x64.zip HOT 1
- Edit Notes disappear HOT 2
- 0.60.4在windows11上打不开……但是英文版可以正常运行 HOT 4
- 请问Linux服务器部署中文版的docker中,数据库备份文件可以用在英文版的trilium镜像恢复数据吗? HOT 2
- 请考虑保留healthcheck HOT 1
- 在docker compose中启用“健康检查”出问题 HOT 3
- 怎么很久没有更新了呢? HOT 1
- 导出markdown怎么去除代码块注释text-x-的前缀 HOT 1
- 不好意思实在找不到最新版本,从哪儿可以下载最新版本? HOT 1
- demo-cn导入覆盖问题? HOT 4
- mac版客户端下载打开还是英文版怎么回事 HOT 1
- 能否把canvas画布的手写体改为下图这样的,美观一些。 HOT 1
- 能不能做个中文版的windows上的server版? HOT 2
- 解压后打不开 HOT 3
- docker最新拉取运行报错 HOT 3
- 突然卡死了 HOT 10
- yml启动失败 HOT 6
- AUR包是否应当改名为trilium-cn-bin? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trilium-translation.