potatouu
V2EX  ›  问与答

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

  •  
  •   potatouu · Dec 29, 2023 · 2067 views
    This topic created in 883 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
        1
    gudako  
       Dec 29, 2023 via Android
    为避免配置问题,建议你使用这个预装了 aria2 的 image https://hub.docker.com/r/xhofe/alist-aria2
    handwork
        2
    handwork  
       Dec 29, 2023 via Android
    两个 docker 的 uid 和 gid 要一致,一般都设置成 0 ,用 root 用户!
    potatouu
        3
    potatouu  
    OP
       Dec 30, 2023 via iPhone
    @gudako 这个我看到了,但是我觉得 aria2-pro 的配置比较好,aria2 开箱即用
    potatouu
        4
    potatouu  
    OP
       Dec 30, 2023 via iPhone
    @huaxing0211 uid 和 gid 我都在环境变量里设置成 1000 了,但是还是不行
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2641 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 05:54 · PVG 13:54 · LAX 22:54 · JFK 01:54
    ♥ Do have faith in what you're doing.