Closed viceice closed 10 months ago
Workaround is running this as root before switching to iobroker user:
> chown -R iobroker /opt/.docker_config/
PERMISSION_CHECK is set to false. Use this at your own risk!
This is what the permission check is doing... It's not a general problem...
# (Re)Setting permissions to "/opt/iobroker" and "/opt/scripts"
if [[ "$permissioncheck" == "false" ]]; then
echo "PERMISSION_CHECK is set to false. Use this at your own risk!"
else
echo -n "(Re)setting permissions (This might take a while! Please be patient!)... "
chown -R "$setuid":"$setgid" /opt/iobroker
chown -R "$setuid":"$setgid" /opt/scripts
chown -R "$setuid":"$setgid" /opt/.docker_config
echo "Done."
fi
As long as you use PERMISSION_CHECK=false you have to make sure to correct the permissions by yourself. The other solution would be to remove the possibility to disable the permission check/ resetting of permissions.
Regards, André
ok, thanks. I disabled permission check because of the slowness on nfs.
Description / Beschreibung
Trying to enable maintenance mode as user
iobroker
and get this error:Image version
v9.0.1
Docker logs / Docker Protokoll