fix permissions of ghost files
This commit is contained in:
parent
deb9d38bed
commit
fc993dbf7d
@ -304,7 +304,7 @@ fi
|
|||||||
install -d -m 0755 -g dovecot -d /run/dovecot
|
install -d -m 0755 -g dovecot -d /run/dovecot
|
||||||
install -d -m 0755 -d /run/dovecot/empty
|
install -d -m 0755 -d /run/dovecot/empty
|
||||||
install -d -m 0750 -g dovenull -d /run/dovecot/login
|
install -d -m 0750 -g dovenull -d /run/dovecot/login
|
||||||
install -d -m 0755 -g dovenull -d /run/dovecot/token-login
|
install -d -m 0750 -g dovenull -d /run/dovecot/token-login
|
||||||
[ -x /sbin/restorecon ] && /sbin/restorecon -R /run/dovecot
|
[ -x /sbin/restorecon ] && /sbin/restorecon -R /run/dovecot
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
@ -439,7 +439,11 @@ make check
|
|||||||
%{_libexecdir}/%{name}
|
%{_libexecdir}/%{name}
|
||||||
%exclude %{_libexecdir}/%{name}/managesieve*
|
%exclude %{_libexecdir}/%{name}/managesieve*
|
||||||
|
|
||||||
%ghost /run/dovecot
|
%attr(0755,root,dovecot) %ghost /run/dovecot
|
||||||
|
%attr(0750,root,dovenull) %ghost /run/dovecot/login
|
||||||
|
%attr(0750,root,dovenull) %ghost /run/dovecot/token-login
|
||||||
|
%attr(0755,root,root) %ghost /run/dovecot/empty
|
||||||
|
|
||||||
%attr(0750,dovecot,dovecot) /var/lib/dovecot
|
%attr(0750,dovecot,dovecot) /var/lib/dovecot
|
||||||
|
|
||||||
%{_datadir}/%{name}
|
%{_datadir}/%{name}
|
||||||
|
Loading…
Reference in New Issue
Block a user