systemd: change UNIX permissions of 99-swap_dev.rules 26/187726/2
authorINSUN PYO <insun.pyo@samsung.com>
Tue, 28 Aug 2018 05:32:54 +0000 (14:32 +0900)
committerVyacheslav Cherkashin <v.cherkashin@samsung.com>
Tue, 28 Aug 2018 07:59:50 +0000 (07:59 +0000)
Remove write permissions for everyone except the owner.

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: If2b52b0b9abc9bc54fcecc87f442d053bb51bbbd

packaging/swap-manager.spec

index 19a7b415d4570eba245ab40667b2fc9d17eaabd2..b0cb57006c7296595a2ffed4fc7629be6534e639 100644 (file)
@@ -188,7 +188,7 @@ install -m 0666 systemd/swap.conf %{buildroot}%{_tmpfilesdir}/swap.conf
 
 # udev rules
 mkdir -p %{buildroot}%{_udevrulesdir}
-install -m 0666 systemd/99-swap_dev.rules %{buildroot}%{_udevrulesdir}/99-swap_dev.rules
+install -m 0644 systemd/99-swap_dev.rules %{buildroot}%{_udevrulesdir}/99-swap_dev.rules
 
 export SYSTEMD_SUPPORT=y