aboutsummaryrefslogtreecommitdiffstats
path: root/bin/mbsync_cron.sh
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2017-05-30 19:24:42 +0800
committerAaron LI <aly@aaronly.me>2017-05-30 19:24:42 +0800
commite5a15cf9833901d150e8223b81231d029759af28 (patch)
tree814ebb106cf59e85708abac3f6a8d86dc045c511 /bin/mbsync_cron.sh
parentfdeb4bd247a7f3deb271cc2b7403c73fe2d533f9 (diff)
downloadatoolbox-e5a15cf9833901d150e8223b81231d029759af28.tar.bz2
bin/mbsync_cron.sh: umask 027
Diffstat (limited to 'bin/mbsync_cron.sh')
-rwxr-xr-xbin/mbsync_cron.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/mbsync_cron.sh b/bin/mbsync_cron.sh
index ee734d6..e02bf93 100755
--- a/bin/mbsync_cron.sh
+++ b/bin/mbsync_cron.sh
@@ -25,6 +25,7 @@
#
set -e
+umask 027
# Workaround to make `notify-send` work with cron
# Credit: https://stackoverflow.com/a/16520076