Skip to content

[BUG] lsiown hardcode to abc:abc #225

@quekky

Description

@quekky

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

In the file root/etc/s6-overlay/s6-rc.d/init-deluge-config/run, it runs

lsiown -R abc:abc /downloads

I'm not sure if it's a good idea to hardcode abc, since not everyone is running as PUID/PGID 911

Expected Behavior

use $PUID:$PGID instead

Steps To Reproduce

start a new docker
ps fax (can see chown is running)

Environment

CPU architecture

x86-64

Docker creation

docker run -d \
  --name=deluge \
  -e PUID=65534 \
  -e PGID=65534 \
  -e TZ=Etc/UTC \
  -p 8112:8112 \
  -p 6881:6881 \
  -p 6881:6881/udp \
  -p 58846:58846 \
  -v /path/to/deluge/config:/config \
  -v /path/to/downloads:/downloads \
  --restart unless-stopped \
  lscr.io/linuxserver/deluge:latest

Container logs

(irrelevant)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions