X-Git-Url: https://git.deb.at/?p=deb%2Fpackages.git;a=blobdiff_plain;f=cron.d%2F050checkinst;h=fb2356fb690e3a8a6669424079263ebe06ff1dfc;hp=55ee6c7556bcd2822199c77151b6d8e27761dce2;hb=a9572ccb0c5930c582e93d901cc4e6d76cee0d45;hpb=21c9ac23ead39fa9cd79c17a722972ebe1b5fd90 diff --git a/cron.d/050checkinst b/cron.d/050checkinst index 55ee6c7..fb2356f 100755 --- a/cron.d/050checkinst +++ b/cron.d/050checkinst @@ -18,7 +18,7 @@ then then echo "cachedir missing." >> $cache else - perm=$(ls -ld "$cachedir" | perl -ne 'print "ok" if /^drwxrws--- \d+ www-data/') + perm=$(ls -ld "$cachedir" | perl -ne 'print "ok" if /^drwx...... \d+ www-data/ || /^d...rws... \d+ [\w-]+\/www-data/') if [ -z "$perm" ] then echo "cachedir has wrong permissions." >> $cache