mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-23 17:23:13 +00:00
Allow chown to fail so files can be managed via docker configs and secrets
This commit is contained in:
1 parent
b63a2e41be
commit
ba55ec09ed
1 file changed
+2
-2
@@ -19,8 +19,8 @@ echo "$APP_USER:x:$GROUP_ID:" >> /etc/group
|
||||
|
||||
# Make sure APP_HOME is editable by the user
|
||||
if [[ -n "$APP_HOME" ]] ; then
|
||||
chown -R "$APP_USER" "$APP_HOME"
|
||||
chmod -R u+rw "$APP_HOME"
|
||||
chown -R "$APP_USER" "$APP_HOME" || true
|
||||
chmod -R u+rw "$APP_HOME" || true
|
||||
fi
|
||||
|
||||
# vim:ft=sh:ts=4:sw=4:et:sts=4
|
||||
|
||||
Reference in new issue
Block a user