Bug#198546: tetex-bin: mktexlsr/texhash fails writing ls-R as user
> so only changing the ownership/permission of /var/lib/texmf
> might work?
No. Just tested it. Changing the ownership to
drwxrwxr-x 3 root users 69 Jul 18 13:55 texmf
and running texhash as ordinary users leads to
# ls -l
total 236
-rw-r--r-- 1 root root 29845 Feb 16 02:49 helpindex.html
-rw-r--r-- 1 root root 3707 Jun 23 23:10 language.dat
-rw-rw-r-- 1 bond bond 199445 Jul 18 13:55 ls-R
drwxr-xr-x 2 root root 4096 Jun 23 23:11 web2c
> > I wonder, how upstream does solve this?
> >
> > A "cat ls-R.tmp > ls-R" instead of moving the temporary ls-R could solve
> > this.
>
> Do you mean to modify mktexlsr?
IMO, mktexlsr seems buggy or I misunderstand it. There is no code in
mktexlsr which preserves the ownership of the file. There is only code
for permissions. I still wonder, what upstream would say to this
problem.
Regards
--
* mail kai.weber@glorybox.de
web http://www.glorybox.de
pgp 0x594D4132
Reply to: