Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker部署的时候映射的主机目录必须给 everyone 的完全控制权么?不给权限就启动不了 #7533

Closed
3 tasks done
loveu5522 opened this issue Mar 1, 2023 · 7 comments

Comments

@loveu5522
Copy link

该问题是否已经被报告过了? Is there an existing issue for this?

  • 我已经搜索了 Issues,没有发现类似问题
    I have searched the existing issues

该问题是否能够在默认主题(daylight/midnight)下重现? Can the issue be reproduced with the default theme (daylight/midnight)?

  • 我能够在默认主题下重现该问题
    I was able to reproduce the issue with the default theme

该问题是否可能是由于扩展功能导致? Could the issue be due to extensions?

  • 我已经排除了扩展导致问题的可能性
    I've ruled out the possibility that the extension is causing the problem.

描述问题 Describe the problem

docker部署的时候映射的主机目录必须给 everyone 的完全控制权么?
不想给主机映射的目录everyone 的完全控制权,因为这样觉得主机目录就不安全了
有其他解决办法么,我给目录everyone 的完全控制权,就一直报错。

期待的结果 Expected result

希望有决绝方案

截屏或者录屏演示 Screenshot or screen recording presentation

截图_20230301110829
截图_20230301110920

版本环境 Version environment

- Version: docker v2.7.7
- Operating System: 群辉DS920+  DSM7.1.1
- Browser (if used): edge

日志文件 Log file

0ab1b43ef546bcb32d3d436f4d69536

更多信息 More information

No response

@88250
Copy link
Member

88250 commented Mar 1, 2023

-u 1000:1000 是给这个用户权限,不是所有用户都有权限。

@88250 88250 closed this as completed Mar 1, 2023
@loveu5522
Copy link
Author

-u 1000:1000 是给这个用户权限,不是所有用户都有权限。

就是PUID PGID 都填1000么,但是映射的文件夹如何给这个1000的权限,在群辉系统里创建了用户但是每个用户的PUID和PGID都是固定的吧,系统给的吧

@loveu5522
Copy link
Author

-u 1000:1000 是给这个用户权限,不是所有用户都权限。
不是太明白

@loveu5522
Copy link
Author

-u 1000:1000 是给这个用户权限,不是所有用户都有权限。

PUID:1000 PGID:1000 还是没用,还是提示没有权限,因为群辉系统没有这个PUID:1000 PGID:1000用户的

@88250
Copy link
Member

88250 commented Mar 1, 2023

看下用户指南中关于 Docker 伺服的章节可能会有帮助。

@loveu5522
Copy link
Author

看下用户指南中关于 Docker 伺服的章节可能会有帮助。

谢谢,终于搞定了 chown -R 1000:1000 /siyuan/workspace 要用这条命令,就是感觉siyuan这个权限和其他的镜像不一样,其他的都可以自定义,思源docker只能用1000:10000

@own5464
Copy link

own5464 commented Apr 8, 2023

群晖上设置文件夹权限,难道只能用ssh吗,不能用图形界面更改设置吗,这样操作很不友好呢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants