Re: teTeX-2.0.2 file permissions
George White [EMAIL PROTECTED] (GW) wrote: GW Quoting Piet van Oostrum [EMAIL PROTECTED]: xdvizilla (in tetex-src-2.0.2/texk/xdvik/) appears to be missing the x permission. GW On my linux system the x-permission was set (by install -- the default GW is 755 which is why you need the -m 644 option to install GW documentation) when the file was installed. Why does the permission in GW the source tree matter? Are you using a funny version of install? It was the only thing installed in bin that missed the x permission. The install is, I think, a home-brewn script. It says: Usage: install [-c] [-s] [-o own] [-g grp] [-m mode] src dst Or:install [-o own] [-g grp] [-m mode] -d dir option c : copy (obsolete) option s : try to strip dst option o : (possibly numeric) owner ident option g : (possibly numeric) group ident option m : mode (in octal eg 755 ) src : must be readable file dst : file or directory The Makefile in xdvik doesn't give any mode parameters, so how should the install script know that it should add the x permission? $(INSTALL_SCRIPT) $(srcdir)/xdvizilla $(scriptdir)/xdvizilla $(INSTALL_SCRIPT) = install -c. -- Piet van Oostrum [EMAIL PROTECTED] URL: http://www.cs.uu.nl/~piet [PGP] Private email: [EMAIL PROTECTED]
teTeX-2.0.2 file permissions
Quoting Piet van Oostrum [EMAIL PROTECTED]: xdvizilla (in tetex-src-2.0.2/texk/xdvik/) appears to be missing the x permission. On my linux system the x-permission was set (by install -- the default is 755 which is why you need the -m 644 option to install documentation) when the file was installed. Why does the permission in the source tree matter? Are you using a funny version of install? Speaking of permissions, Mandrake's msec security tool noticed a few world writable files/directories in the main texmf tree: texmf/fonts/pk texmf/fonts/pk/ljfour texmf/fonts/pk/ljfour/jknappen texmf/fonts/pk/ljfour/jknappen/ec texmf/fonts/pk/ljfour/jknappen/tc texmf/fonts/pk/ljfour/public texmf/fonts/pk/ljfour/public/dstroke texmf/ls-R texmf/web2c/mf.base texmf/web2c/mf.log
Re: teTeX-2.0.2 file permissions
Quoting Giuseppe Ghibò [EMAIL PROTECTED]: George White wrote: Quoting Piet van Oostrum [EMAIL PROTECTED]: xdvizilla (in tetex-src-2.0.2/texk/xdvik/) appears to be missing the x permission. On my linux system the x-permission was set (by install -- the default is 755 which is why you need the -m 644 option to install documentation) when the file was installed. Why does the permission in the source tree matter? Are you using a funny version of install? Speaking of permissions, Mandrake's msec security tool noticed a few world writable files/directories in the main texmf tree: texmf/fonts/pk texmf/fonts/pk/ljfour texmf/fonts/pk/ljfour/jknappen texmf/fonts/pk/ljfour/jknappen/ec texmf/fonts/pk/ljfour/jknappen/tc texmf/fonts/pk/ljfour/public texmf/fonts/pk/ljfour/public/dstroke texmf/ls-R texmf/web2c/mf.base texmf/web2c/mf.log which version? And are you sure is main texmf tree and not in /var/lib/texmf? As in /var/lib/texmf to allow users to generate on the fly the PK fonts. On main texmf tree, i.e. /usr/share/texmf there shouldn't be such files, unless maybe you are running tex as root. Version 2.0.2, main texmf tree, installed and run from ordinary user login. In version 2.0.1, only texmf/ls-R ended up with world-write permission.
Re: teTeX-2.0.2 file permissions
George White wrote: Quoting Piet van Oostrum [EMAIL PROTECTED]: xdvizilla (in tetex-src-2.0.2/texk/xdvik/) appears to be missing the x permission. On my linux system the x-permission was set (by install -- the default is 755 which is why you need the -m 644 option to install documentation) when the file was installed. Why does the permission in the source tree matter? Are you using a funny version of install? Speaking of permissions, Mandrake's msec security tool noticed a few world writable files/directories in the main texmf tree: texmf/fonts/pk texmf/fonts/pk/ljfour texmf/fonts/pk/ljfour/jknappen texmf/fonts/pk/ljfour/jknappen/ec texmf/fonts/pk/ljfour/jknappen/tc texmf/fonts/pk/ljfour/public texmf/fonts/pk/ljfour/public/dstroke texmf/ls-R texmf/web2c/mf.base texmf/web2c/mf.log which version? And are you sure is main texmf tree and not in /var/lib/texmf? As in /var/lib/texmf to allow users to generate on the fly the PK fonts. On main texmf tree, i.e. /usr/share/texmf there shouldn't be such files, unless maybe you are running tex as root. Bye. Giuseppe.