mirror of
https://github.com/linuxserver/docker-piwigo.git
synced 2025-04-23 20:57:06 -04:00
Fix /gallery permissions
This commit is contained in:
parent
64fefd43b4
commit
0c1fa6eff5
1 changed files with 6 additions and 0 deletions
|
@ -21,6 +21,12 @@ if [ ! -d "/config/www/gallery" ]; then
|
|||
ln -s /gallery /config/www/gallery
|
||||
fi
|
||||
|
||||
if [[ -d /gallery ]]; then
|
||||
if [[ "$(stat -c '%U' /gallery)" != "abc" ]]; then
|
||||
chown -R abc:abc /gallery
|
||||
fi
|
||||
fi
|
||||
|
||||
# permissions
|
||||
chown -R abc:abc \
|
||||
/config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue