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

在openmediavault 6 最新版里面用docker装这个的compose,自动生成的下载目录所有者是root #131

Open
gitJohnt opened this issue Jul 12, 2023 · 1 comment

Comments

@gitJohnt
Copy link

gitJohnt commented Jul 12, 2023

昨天在omv的docker里安装这个,omv和omv-extra等都更新到最新的,然后compose时,发现运行的容器没有权限在它自己新建的downloads目录里建文件(下载时错误16),ls看了一下,它自动生成的目录downloads所有者和群组都是root。chown了后正常了。

但是我另外装的qbittorrent和baidunetdisk它们自己生成的下载目录所有者都是正常的appuser。

compose我只改动了一点点, 1000和100是我appuser的PUID和GUID

version: "3.8"

services:

Aria2-Pro:
container_name: aria2-pro
image: p3terx/aria2-pro
environment:

  - PUID=1000
  - PGID=100
  - UMASK_SET=022
  - RPC_SECRET=P3TERX
  - RPC_PORT=6800
  - LISTEN_PORT=6888
  - DISK_CACHE=64M
  - IPV6_MODE=false
  - UPDATE_TRACKERS=true
  - CUSTOM_TRACKER_URL=
  - TZ=Asia/Shanghai
volumes:
  - 我系统盘绝对路径/aria2-config:/config
  - 我数据盘绝对路径/aria2-downloads:/downloads

network_mode: host


restart: unless-stopped

不知道这是不是个小Issue

@pham38
Copy link

pham38 commented Dec 22, 2023

有同样的问题,日志提示:

[ERROR] Exception caught
Exception: [util.cc:1948] errNum=13 errorCode=18 Failed to make the directory , cause: Permission denied

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

2 participants