add shadow to set ownership

This commit is contained in:
Georges-Antoine Assi
2024-03-18 02:53:27 +00:00
parent faaa81995c
commit be553d5524
2 changed files with 4 additions and 3 deletions

View File

@@ -112,8 +112,8 @@ fi
umask "$UMASK"
echo "Setting permissions and ownership for necessary directories..."
chown -R romm:romm /romm /redis-data /backend /frontend /tmp
chmod -R 755 /romm /redis-data /backend /frontend /tmp
chown -R romm:romm /romm /redis-data /backend
chmod -R 755 /romm /redis-data /backend
# switch to backend directory
cd /backend || { error_log "/backend directory doesn't seem to exist"; }