[Bug 514105] Review Request: courier-imap - The Courier IMAP server

bugzilla at redhat.com bugzilla at redhat.com
Wed Jul 29 09:24:40 UTC 2009


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=514105





--- Comment #6 from Jussi Lehtola <jussi.lehtola at iki.fi>  2009-07-29 05:24:38 EDT ---
You can drop most of the %attr straight away, since the attributes given to the
files in %install are preserved in the RPM (644,root,root for 'normal' files
and 755,root,root for directories, libraries and executables).

The config files
 %attr(0600,root,root) %{_sysconfdir}/imapd-ssl.dist
 %attr(0600,root,root) %config(noreplace) %{_sysconfdir}/imapd.cnf
 %attr(0600,root,root) %{_sysconfdir}/imapd.dist
 %attr(0600,root,root) %{_sysconfdir}/pop3d-ssl.dist
 %attr(0600,root,root) %config(noreplace) %{_sysconfdir}/pop3d.cnf
 %attr(0600,root,root) %{_sysconfdir}/pop3d.dist
 %attr(0600,root,root) %{_sysconfdir}/quotawarnmsg.example
may need to have their attributes set separately, but I recommend doing it in
%install and dropping the %attr lines from %files which are IMHO a bit messy:
 find $RPM_BUILD_ROOT%{_sysconfdir} -type f -exec chmod 600 {} \;
(This will find all files in /etc and set the permissions to 600.)

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the Fedora-package-review mailing list