Bug#203532: tetex-extra: permissions of ls-R wrong
>> Sure, but in the meantime why not make life easier for us users and
>> correct the permissions in *.postinst ?
>
>Because they will be messed up again each time mktexlsr is run. And this
>is done daily in /etc/cron.daily/tetex-bin, which you wouldn't want to
>completely disable, too.
Then you could do this (as I just did, thanks for the pointer):
diff -pu /etc/cron.daily/tetex-bin\~ /etc/cron.daily/tetex-bin
--- /etc/cron.daily/tetex-bin~ 2002-04-13 13:42:27.000000000 +0200
+++ /etc/cron.daily/tetex-bin 2003-07-31 14:10:37.000000000 +0200
@@ -16,7 +16,10 @@ if [ -x "/usr/bin/mktexlsr" ]; then
for dbfile in ${LSRDBS}; do
case "$dbfile" in
/usr/local*) continue ;;
- *) /usr/bin/mktexlsr $dbfile > /dev/null ;;
+ *) /usr/bin/mktexlsr $dbfile > /dev/null
+ # do this until mktexlsr is fixed
+ chgrp other $dbfile/ls-R
+ ;;
esac
done
else
By the way, the correct name for the variable should be dbpath, or
dbdir, not dbfile.
Reply to: