potatouu
V2EX  ›  问与答

alsit 使用 aria2 离线下载,没有权限创建文件

  •  
  •   potatouu · Dec 29, 2023 · 2484 views
    This topic created in 1041 days ago, the information mentioned may be changed or developed.
    全部使用的 docker 部署,其中 aria2 使用的是完美配置 docker,链接 https://github.com/P3TERX/aria2.conf,alist 使用的官方配置.
    使用 ariang 下载都正常,但是使用 alist 离线下载就提示没有权限,报错/opt/alist/data/temp/aria2/9bc40612-580e-4087-b2d2-fb91701d9b48, cause: Permission denied,检查了下映射的文件夹,权限都是对的,不知道问题出在哪,有一样情况的小伙伴吗
    gudako
    gudako
    Dec 29, 2023 via Android
    1
    为避免配置问题,建议你使用这个预装了 aria2 的 image https://hub.docker.com/r/xhofe/alist-aria2
    handwork
    handwork
    Dec 29, 2023 via Android
    2
    两个 docker 的 uid 和 gid 要一致,一般都设置成 0 ,用 root 用户!
    potatouu
    potatouu
    OP
    Dec 30, 2023 via iPhone
    3
    @gudako 这个我看到了,但是我觉得 aria2-pro 的配置比较好,aria2 开箱即用
    potatouu
    potatouu
    OP
    Dec 30, 2023 via iPhone
    4
    @huaxing0211 uid 和 gid 我都在环境变量里设置成 1000 了,但是还是不行
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5691 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 94ms · UTC 03:01 · PVG 11:01 · LAX 19:01 · JFK 22:01
    ♥ Do have faith in what you're doing.