add support for new RO mode
This commit is contained in:
parent
9824f61bc1
commit
6ae576f4d3
@ -5,6 +5,7 @@
|
||||
PUID=${PUID:-911}
|
||||
PGID=${PGID:-911}
|
||||
|
||||
if [[ -z ${LSIO_READ_ONLY_FS} ]] && [[ -z ${LSIO_NON_ROOT_USER} ]]; then
|
||||
groupmod -o -g "$PGID" abc
|
||||
mkdir /dummy
|
||||
usermod -d /dummy abc
|
||||
@ -15,3 +16,4 @@ rmdir /dummy
|
||||
lsiown abc:abc /app
|
||||
lsiown abc:abc /config
|
||||
lsiown abc:abc /defaults
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user