summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Beckmann <anbe@debian.org>2013-10-19 02:46:22 +0200
committerAndreas Beckmann <anbe@debian.org>2013-10-19 02:46:22 +0200
commit41c23a01c3ec061aad1c281f99cf257ea2cdb142 (patch)
tree791fa0be0ea77c3897cfb95a2c613003bd2193d4
parent563add1b5f7605dda243ad9a667aa5fbfdece042 (diff)
downloadsendmail-41c23a01c3ec061aad1c281f99cf257ea2cdb142.tar.gz
stop using deprecated find syntax
-rw-r--r--debian/changelog8
-rw-r--r--debian/local/update_sys.in4
2 files changed, 10 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index 2d483bb..2ef27f7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+sendmail (8.14.4-4.2) UNRELEASED; urgency=low
+
+ * Non-maintainer upload.
+ * Switch from deprecated 'find -perm +xxx' to 'find -perm /xxx'.
+ (Closes: #724772)
+
+ -- Andreas Beckmann <anbe@debian.org> Sat, 19 Oct 2013 02:41:51 +0200
+
sendmail (8.14.4-4.1) unstable; urgency=low
* Non-maintainer upload.
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;
#-----------------------------------------------------------------------------