Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions packaging/cfengine-nova-hub/cfengine-nova-hub.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -373,12 +373,12 @@ exit 0

# ENT-2708, ENT-2846
%defattr(600,root,root,700)
%prefix/share/GUI/application/config/*.php
%prefix/share/GUI/phpcfenginenova/*.sql
%prefix/share/GUI/phpcfenginenova/migrations
%prefix/share/GUI/phpcfenginenova/migrations/*.sql
%prefix/share/db/*.sql

# No-one should need access to anything under share/GUI
%defattr(400,root,root,400)
%prefix/share/GUI

# Base policy
%defattr(644,root,root,755)
%prefix/share/NovaBase
Expand Down
7 changes: 7 additions & 0 deletions packaging/cfengine-nova-hub/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,13 @@ install: build
# cf-enterprise-support
cp $(BASEDIR)/nova/misc/cf-support-nova-hub.sh $(CURDIR)/debian/tmp$(PREFIX)/share/

execute_after_dh_fixperms:
# No-one should need access to anything under share/GUI
chmod 400 -R $(CURDIR)/debian/tmp$(PREFIX)/share/
chmod 700 $(CURDIR)/debian/tmp$(PREFIX)/ppkeys/
chmod 700 $(CURDIR)/debian/tmp$(PREFIX)/outputs/
chmod 700 $(CURDIR)/debian/tmp$(PREFIX)/inputs/
chmod 700 $(CURDIR)/debian/tmp$(PREFIX)/state/

binary-indep: build install

Expand Down
Loading