add shadow to set ownership

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

No files matched your search

+2 -2
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"; }