mirror of
https://github.com/abraunegg/onedrive
synced 2024-05-03 14:33:16 +02:00
Update entrypoint.sh (#1861)
Fix applying permissions to volume directories when running in rootless podman
This commit is contained in:
parent
75405afa28
commit
c63b390f14
|
@ -23,7 +23,7 @@ else
|
|||
grep -qv root <( groups "${oduser}" ) || { echo 'ROOT level privileges prohibited!'; exit 1; }
|
||||
fi
|
||||
|
||||
chown "${oduser}:${odgroup}" /onedrive/ /onedrive/conf
|
||||
chown "${oduser}:${odgroup}" /onedrive/data /onedrive/conf
|
||||
|
||||
# Default parameters
|
||||
ARGS=(--monitor --confdir /onedrive/conf --syncdir /onedrive/data)
|
||||
|
|
Loading…
Reference in a new issue