2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 09:57:41 +00:00

Fix example dir mode on RedHat/Fedora.

This commit is contained in:
Todd C. Miller 2022-12-27 12:27:29 -07:00
parent e0fa2ec85c
commit 519a005802

View File

@ -387,8 +387,8 @@ still allow people to get their work done."
$docdir/LICENSE.md ignore,ignore-others $docdir/LICENSE.md ignore,ignore-others
$docdir/ChangeLog ignore,ignore-others $docdir/ChangeLog ignore,ignore-others
%endif %endif
%if X"$exampledir" != X"$docdir/examples"
$exampledir/ 0755 ignore-others $exampledir/ 0755 ignore-others
%if X"$exampledir" != X"$docdir/examples"
$exampledir/* 0644 $exampledir/* 0644
%endif %endif
$exampledir/sudo_logsrv* optional,ignore,ignore-others $exampledir/sudo_logsrv* optional,ignore,ignore-others
@ -403,6 +403,7 @@ still allow people to get their work done."
%else %else
$sudoersdir/sudoers.dist $sudoers_mode $sudoers_uid:$sudoers_gid $sudoersdir/sudoers.dist $sudoers_mode $sudoers_uid:$sudoers_gid
%endif %endif
$sysconfdir/sudo_logsrvd.conf optional,ignore,ignore-others
%if X"$aix_freeware" = X"true" %if X"$aix_freeware" = X"true"
# Links for binaries from /opt/freeware to /usr # Links for binaries from /opt/freeware to /usr
/usr/bin/cvtsudoers 0755 root: symlink $bindir/cvtsudoers /usr/bin/cvtsudoers 0755 root: symlink $bindir/cvtsudoers