Bug#328291: debconf, tex-common and the management of ls-R and .cnf files
Norbert Preining <preining@logic.at> wrote:
> On Die, 27 Sep 2005, Frank Küster wrote:
>> > respective user/group/mode as specified in debconf. BUT: /var/lib/texmf
>> > is *not* writable by the `users' group. Thus, calling mktexlsr does not
>> > work, evene if the ls-R is writable. Any solutions for this problem?
>>
>> Are you sure that the user you tried with is in the "users" group? An
>> ordinary new Debian user is only in the group named after his
>> username. Here it works:
>
> YOu probably have writte permissions anyway: In my chroot cave:
[..]
> How does you /var/lib/texmf look like:
> $ ls -ld /var/lib/texmf
> drwxr-xr-x 5 root root 4096 Sep 25 16:31 /var/lib/texmf
Same here:
frank@alhambra:~$ lal /var/lib/texmf/
total 344
drwxr-xr-x 5 root root 4096 2005-08-17 18:21 .
drwxr-xr-x 52 root root 4096 2005-08-27 10:20 ..
drwxr-xr-x 3 root root 4096 2005-06-07 19:33 fonts
-rw-r--r-- 1 root root 1242 2005-08-17 18:23 helpindex.html
-rw-rw-r-- 1 root users 1046 2005-09-27 16:09 ls-R
-rw-rw-r-- 1 root users 316346 2005-09-27 16:09 ls-R-TEXMFMAIN
drwxr-xr-x 3 root root 4096 2005-07-26 11:58 tex
drwxr-xr-x 2 root root 4096 2005-09-27 13:18 web2c
frank@alhambra:~$ mktexlsr /var/lib/texmf/
mktexlsr: Updating /var/lib/texmf//ls-R...
mktexlsr: Done.
frank@alhambra:~$ mktexlsr /usr/share/texmf/
mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFMAIN...
mktexlsr: Done.
frank@alhambra:~$
This is
frank@alhambra:~$ dpkg -l tex-common tetex-base tetex-bin
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-========================-========================-================================================================
ii tex-common 0.7 Common infrastructure for using and building TeX in Debian
ii tetex-base 3.0-7 Basic library files of teTeX
ii tetex-bin 3.0-7.0.sarge1 The teTeX binary files
Regards, Frank
--
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer
Reply to: