likun7981 / hlink

批量、快速硬链工具(The batch, fast hard link toolkit)
https://hlink.likun.me
MIT License
632 stars 59 forks source link

Add PUID, PGID, Umask settings to Docker image #112

Closed DDSDerek closed 1 year ago

DDSDerek commented 1 year ago
vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
hlink ✅ Ready (Inspect) Visit Preview Dec 27, 2022 at 7:00AM (UTC)
likun7981 commented 1 year ago

感谢MR,close #90

monchickey commented 1 year ago

测试目前在普通 Debian Linux 上运行会有权限问题,原因是卷目录本身的权限仍然是 root, 这里只改了 $HLINK_HOME, 修改 entrypoint.sh 直接 hlink start 是正常的。

DDSDerek commented 1 year ago

我们这边只提供更改config目录的权限,也就是$HLINK_HOME目录,而其他目录的权限。需要你自己手动修改

DDSDerek commented 1 year ago

因为每个人映射的目录都不一样,不可能完全考虑