Skip to content

Commit

Permalink
Fix static asset permissions in RPM packages
Browse files Browse the repository at this point in the history
  • Loading branch information
replaceafill committed Sep 14, 2024
1 parent 5013925 commit 14c1795
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions rpms/EL9/archivematica-storage-service/package.spec
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,4 @@ bash -c " \
/usr/share/archivematica/virtualenvs/archivematica-storage-service/bin/python manage.py collectstatic --noinput --clear
/usr/share/archivematica/virtualenvs/archivematica-storage-service/bin/python manage.py compilemessages
";
chown -R archivematica:archivematica /usr/lib/archivematica/storage-service/assets
1 change: 1 addition & 0 deletions rpms/EL9/archivematica/archivematica.spec
Original file line number Diff line number Diff line change
Expand Up @@ -281,4 +281,5 @@ bash -c " \
/usr/share/archivematica/virtualenvs/archivematica/bin/python manage.py compilemessages
";
chown -R archivematica:archivematica /var/log/archivematica/dashboard
chown -R archivematica:archivematica /usr/share/archivematica/dashboard/static
systemctl daemon-reload

0 comments on commit 14c1795

Please sign in to comment.