Changeset 1958


Ignore:
Timestamp:
Aug 25, 2011, 10:27:42 AM (10 years ago)
Author:
achernya
Message:
Specify full path to getcap

/usr/sbin/ is not in PATH when run from crond
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/fc15-dev/server/fedora/config/etc/cron.d/check-filecaps

    r1956 r1958  
    11MAILTO=scripts-root@mit.edu
    2 27 5 * * * root find / -xdev -not -perm -o=x -prune -o -type f -print0 | xargs -0r getcap | cut -d' ' -f1 | grep -Fxvf /etc/scripts/allowed-filecaps.list | sed 's/^/Extra file_caps binary: /'
     227 5 * * * root find / -xdev -not -perm -o=x -prune -o -type f -print0 | xargs -0r /usr/sbin/getcap | cut -d' ' -f1 | grep -Fxvf /etc/scripts/allowed-filecaps.list | sed 's/^/Extra file_caps binary: /'
Note: See TracChangeset for help on using the changeset viewer.