Restrict access privilege of nfv mtce-guest config files and daemons
This update modifies the nfv mtce-guest daemons and config files to restrict access privilege to root privilege Storage system was installed successfully and permission of affected files verified. Change-Id: I7c15c2c2613b40d88e0b4024ade250e5058aab77 Closes-Bug: 1887403 Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com>
This commit is contained in:
parent
99c045802d
commit
684b977d8e
@ -52,16 +52,16 @@ install:
|
||||
install -m 755 -p -D scripts/guestAgent.ocf $(DESTDIR)/usr/lib/ocf/resource.d/platform/guestAgent
|
||||
|
||||
# config files
|
||||
install -m 644 -p -D scripts/guest.ini $(SYSCONFDIR)/mtc/guestAgent.ini
|
||||
install -m 644 -p -D scripts/guest.ini $(SYSCONFDIR)/mtc/guestServer.ini
|
||||
install -m 600 -p -D scripts/guest.ini $(SYSCONFDIR)/mtc/guestAgent.ini
|
||||
install -m 600 -p -D scripts/guest.ini $(SYSCONFDIR)/mtc/guestServer.ini
|
||||
|
||||
# binaries
|
||||
install -m 755 -p -D guestServer $(LOCALBINDIR)/guestServer
|
||||
install -m 755 -p -D guestAgent $(LOCALBINDIR)/guestAgent
|
||||
install -m 700 -p -D guestServer $(LOCALBINDIR)/guestServer
|
||||
install -m 700 -p -D guestAgent $(LOCALBINDIR)/guestAgent
|
||||
|
||||
# init script files
|
||||
install -m 755 -p -D scripts/guestServer $(SYSCONFDIR)/init.d/guestServer
|
||||
install -m 755 -p -D scripts/guestAgent $(SYSCONFDIR)/init.d/guestAgent
|
||||
install -m 700 -p -D scripts/guestServer $(SYSCONFDIR)/init.d/guestServer
|
||||
install -m 700 -p -D scripts/guestAgent $(SYSCONFDIR)/init.d/guestAgent
|
||||
|
||||
# systemd service files
|
||||
install -m 644 -p -D scripts/guestServer.service $(UNITDIR)/guestServer.service
|
||||
|
Loading…
Reference in New Issue
Block a user