diff options
author | Andreas Beckmann <anbe@debian.org> | 2013-10-19 02:46:22 +0200 |
---|---|---|
committer | Andreas Beckmann <anbe@debian.org> | 2013-10-19 02:46:22 +0200 |
commit | 41c23a01c3ec061aad1c281f99cf257ea2cdb142 (patch) | |
tree | 791fa0be0ea77c3897cfb95a2c613003bd2193d4 /debian/local | |
parent | 563add1b5f7605dda243ad9a667aa5fbfdece042 (diff) | |
download | sendmail-41c23a01c3ec061aad1c281f99cf257ea2cdb142.tar.gz |
stop using deprecated find syntax
Diffstat (limited to 'debian/local')
-rw-r--r-- | debian/local/update_sys.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/local/update_sys.in b/debian/local/update_sys.in index e086a6c..3e35a2c 100644 --- a/debian/local/update_sys.in +++ b/debian/local/update_sys.in @@ -117,7 +117,7 @@ chmod 02755 @sysconfdir@/mail/m4; # # With the MSP/MTA split, we don't want any g=w files or directories # to save us from potential sgid attacks -find @sysconfdir@/mail -perm +g=w \( -type f -o -type d \) -print \ +find @sysconfdir@/mail -perm /g=w \( -type f -o -type d \) -print \ | xargs -r chmod g-w,o-w; #------------------------------------------------------------------------------ @@ -242,7 +242,7 @@ if [ ! -d @localstatedir@/spool/mqueue-client ]; then fi; chown smmsp:smmsp @localstatedir@/spool/mqueue-client; chmod 02770 @localstatedir@/spool/mqueue-client; -find @localstatedir@/spool/mqueue-client -perm +o=r -print \ +find @localstatedir@/spool/mqueue-client -perm /o=r -print \ | xargs -r chmod o-rwx; #----------------------------------------------------------------------------- |