From: Todd C. Miller Date: Fri, 10 Feb 2012 17:55:13 +0000 (-0500) Subject: Add explicit file modes that match those used by "make install" X-Git-Tag: SUDO_1_7_9~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=23d3e12c660b764a588f0777a2a11c0df7aeb2b7;p=sudo Add explicit file modes that match those used by "make install" --HG-- branch : 1.7 --- diff --git a/sudo.pp b/sudo.pp index 3e1599ad8..24def1e6d 100644 --- a/sudo.pp +++ b/sudo.pp @@ -189,17 +189,18 @@ still allow people to get their work done." osdirs=`echo $osdirs | tr " " "\n" | sort -u` %files - $osdirs - - $bindir/sudo 4111 root: - $bindir/sudoedit 4111 root: - $sbindir/visudo 0111 - $bindir/sudoreplay 0111 - $libexecdir/* optional + $osdirs - + $bindir/sudo 4111 root: + $bindir/sudoedit 4111 root: + $sbindir/visudo 0111 + $bindir/sudoreplay 0111 + $libexecdir/* 0755 optional $sudoersdir/sudoers.d/ 0750 $sudoers_uid:$sudoers_gid $timedir/ 0700 root: $docdir/ - $docdir/* - /etc/pam.d/* volatile,optional + $docdir/sudoers2ldif 0555 optional,ignore-others + $docdir/* 0444 + /etc/pam.d/* 0444 volatile,optional %if [rpm,deb] $sudoersdir/sudoers $sudoers_mode $sudoers_uid:$sudoers_gid volatile %else