Fix permissions on %ghost files (rhbz#2122889)
(cherry picked from commit 58777c7cac
)
Related: #2165316
This commit is contained in:
parent
3b40355969
commit
82fe48cc58
@ -771,7 +771,7 @@ install -m 0755 -D -t %{buildroot}%{_rpmconfigdir}/ %{SOURCE24}
|
||||
# here.
|
||||
python3 %{SOURCE2} %buildroot <<EOF
|
||||
%ghost %config(noreplace) /etc/crypttab
|
||||
%ghost /etc/udev/hwdb.bin
|
||||
%ghost %attr(0444,root,root) /etc/udev/hwdb.bin
|
||||
/etc/inittab
|
||||
/usr/lib/systemd/purge-nobody-user
|
||||
%ghost %config(noreplace) /etc/vconsole.conf
|
||||
@ -797,7 +797,7 @@ python3 %{SOURCE2} %buildroot <<EOF
|
||||
%ghost %dir /var/lib/systemd/coredump
|
||||
%ghost /var/lib/systemd/journal-upload
|
||||
%ghost %dir /var/lib/systemd/linger
|
||||
%ghost /var/lib/systemd/random-seed
|
||||
%ghost %attr(0600,root,root) /var/lib/systemd/random-seed
|
||||
%ghost %dir /var/lib/systemd/rfkill
|
||||
%ghost %dir %attr(2755, root, systemd-journal) %verify(not mode) /var/log/journal
|
||||
%ghost %dir /var/log/journal/remote
|
||||
|
Loading…
Reference in New Issue
Block a user