The following commit has been merged in the master branch:
commit a03f40020435a3fc1bca19e8cc4d3613ff6e882f
Author: Frank Lichtenheld <[EMAIL PROTECTED]>
Date: Sat Jun 21 01:23:13 2008 +0200
050checkinst: Be more allowing when checking the permissions of the cache
directory
Previously this required a specific permission (2770), now only require
that at least one of owner and group is www-data and has write access.
diff --git a/cron.d/050checkinst b/cron.d/050checkinst
index 55ee6c7..9e863db 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
--
APT Archive Web-Frontend (Alioth repository)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]