-
When I create a new directory/file they are created with root:root permissions. Is it possible to change this to a regular user? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
What's your environment? |
Beta Was this translation helpful? Give feedback.
-
You can use |
Beta Was this translation helpful? Give feedback.
-
.. relating to this question. How about if filebrowser is run with systemd service ? I'm getting issues with after upload scripts which I think is because the file is being created as root:root. Thanks |
Beta Was this translation helpful? Give feedback.
-
I get different results in an x86 and an Arm (Raspberry Pi) platform. x86: Ownership user:user Docker commanddocker run -d \
--name=${NAME} \
-v /mnt/HDD/server/filebrowser/data:/srv \
-v /mnt/HDD/server/filebrowser/config/filebrowser.db:/.filebrowser.db \
-v /mnt/HDD/server/filebrowser/config/filebrowser.json:/.filebrowser.json \
-u $(id -u):$(id -g) \
-p 9035:8080 \
--restart unless-stopped \
filebrowser/filebrowser Configuration{
"port": 8080,
"baseURL": "",
"address": "",
"log": "stdout",
"database": "/.filebrowser.db",
"root": "/srv"
}
|
Beta Was this translation helpful? Give feedback.
You can use
--user
docker param to set uid/gid https://filebrowser.org/installation#docker