X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fbackupninja.git;a=blobdiff_plain;f=backupninja;h=a1bfabc61e3d89336968e08a40a02afc059e02de;hp=804c1c228285c5099849529237a69ba7dc9d475f;hb=67b5cf70d7a48bf9333e448b0d1ca53aacc252ea;hpb=1d3e3482bef095acc4e3d2ebd058037b7710001b 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"