]> granicus.if.org Git - sudo/commitdiff
Add mode for docdir and use '-' (default) for localedir mode. Fixes
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 1 May 2012 17:47:14 +0000 (13:47 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 1 May 2012 17:47:14 +0000 (13:47 -0400)
a problem on Linux when building in a directory with the setgid bit
set.

sudo.pp

diff --git a/sudo.pp b/sudo.pp
index 3d0e060e2f21c7c2220428a0aa61492e24972904..51678261b55e4c9e071d3537c2fe8338b2d1d92e 100644 (file)
--- a/sudo.pp
+++ b/sudo.pp
@@ -212,10 +212,10 @@ still allow people to get their work done."
        $libexecdir/*           0755 optional
        $sudoersdir/sudoers.d/  0750 $sudoers_uid:$sudoers_gid
        $timedir/               0700 root:
-       $docdir/
+       $docdir/                0755
        $docdir/sudoers2ldif    0555 optional,ignore-others
        $docdir/*               0444
-       $localedir/             optional
+       $localedir/             -    optional
        $localedir/**           0444 optional
        /etc/pam.d/*            0444 volatile,optional
 %if [rpm,deb]