aboutsummaryrefslogtreecommitdiff
path: root/backupninja
diff options
context:
space:
mode:
Diffstat (limited to 'backupninja')
-rwxr-xr-xbackupninja4
1 files changed, 2 insertions, 2 deletions
diff --git a/backupninja b/backupninja
index 804c1c2..a1bfabc 100755
--- a/backupninja
+++ b/backupninja
@@ -163,8 +163,8 @@ function check_perms() {
local perms=`ls -ld $file`
perms=${perms:4:6}
if [ "$perms" != "------" ]; then
- echo "Configuration files must not be group or world readable! Dying on file $file"
- fatal "Configuration files must not be group or world readable! Dying on file $file"
+ echo "Configuration files must not be group or world writable/readable! Dying on file $file"
+ fatal "Configuration files must not be group or world writable/readable! Dying on file $file"
fi
if [ `ls -ld $file | awk '{print $3}'` != "root" ]; then
echo "Configuration files must be owned by root! Dying on file $file"