[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#198546: tetex-bin: mktexlsr/texhash fails writing ls-R as user



Package: tetex-bin
Version: 2.0.2-4.1
Severity: normal
Tags: sid

When running texhash as user (which is in groups users) texhash fails:

Setting the permissions of the ls-R files to 664 for a group (debconf's
default to users) is not enough. The mktexlsr script creates a
temporary ls-R and deletes the orginal ls-R then moves the temp. ls-R to
the old location. This fails because the user has not enough rights to
write into the directory.

bond@glorybox ~ $ texhash
texhash: /usr/local/lib/texmf: directory not writable. Skipping...
texhash: /var/lib/texmf: directory not writable. Skipping...
texhash: /var/cache/fonts: directory not writable. Skipping...
texhash: Done.
bond@glorybox ~ $ ls -al /var/lib/texmf/
total 240
drwxr-xr-x    3 root     root           69 Jun 23 23:11 .
drwxr-xr-x   25 root     root         4096 Jun 22 19:30 ..
-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 root     users      199423 Jun 23 23:11 ls-R
drwxr-xr-x    2 root     root         4096 Jun 23 23:11 web2c

Kai

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux glorybox 2.4.21-ac2 #1 Mon Jun 23 19:50:33 CEST 2003 i686
Locale: LANG=C, LC_CTYPE=de_DE@euro

Versions of packages tetex-bin depends on:
ii  debconf                       1.2.42     Debian configuration management sy
ii  debianutils                   2.5.2      Miscellaneous utilities specific t
ii  dpkg                          1.10.10    Package maintenance system for Deb
ii  ed                            0.2-20     The classic unix line editor
ii  libc6                         2.3.1-17   GNU C Library: Shared libraries an
ii  libgcc1                       1:3.3-3    GCC support library
ii  libkpathsea3                  2.0.2-4.1  shared libkpathsea for teTeX
ii  libpng12-0                    1.2.5.0-4  PNG library - runtime
ii  libstdc++5                    1:3.3-3    The GNU Standard C++ Library v3
ii  libwww0                       5.4.0-6    The W3C WWW library
ii  libxaw7                       4.2.1-8    X Athena widget set library
ii  perl                          5.8.0-18   Larry Wall's Practical Extraction 
ii  t1lib1                        1.3.1-1    Type 1 font rasterizer library - r
ii  tetex-base                    2.0.2-4    basic teTeX library files
ii  xlibs                         4.2.1-8    X Window System client libraries
ii  zlib1g                        1:1.1.4-13 compression library - runtime

-- debconf information:
* tetex-bin/hyphen: 
  tetex-bin/oldcfg: true
* tetex-bin/upd_map: true
  tetex-bin/cnf_name: 
* tetex-bin/fmtutil: true
* tetex-bin/use_debconf: true
* tetex-bin/groupname: users
* tetex-bin/userperm: false
* tetex-bin/groupperm: true
* tetex-bin/lsr-perms: true
* tetex-bin/texmf: true




Reply to: