Changeset 927 for dasscm


Ignore:
Timestamp:
Aug 24, 2010, 1:20:31 PM (14 years ago)
Author:
joergs
Message:

bugfix: sudo rule (permission and filename)

Location:
dasscm/trunk
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • dasscm/trunk/dasscm.spec

    r921 r927  
    7070# therefore it is always created
    7171mkdir -p $RPM_BUILD_ROOT/etc/sudoers.d/
    72 install -m 644 etc/sudoers.d/nagios_dasscm_check.conf $RPM_BUILD_ROOT/etc/sudoers.d/
     72install -m 644 etc/sudoers.d/nagios_dasscm_check $RPM_BUILD_ROOT/etc/sudoers.d/
    7373
    7474
     
    105105# but is does currently not exist on most distributions
    106106%dir /etc/sudoers.d/
    107 %config(noreplace) /etc/sudoers.d/nagios_dasscm_check.conf
     107# sudo requires permissions 440 and config files without any "."
     108%attr(440,root,root) %config(noreplace) /etc/sudoers.d/nagios_dasscm_check
Note: See TracChangeset for help on using the changeset viewer.