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

Bug#202081: tetex-extra: Regeneraters user's ls-R file as owned by root



On 02.08.03 Matijs van Zuijlen (Matijs.van.Zuijlen@xs4all.nl) wrote:
> On Tue, Jul 22, 2003 at 09:45:48AM +0200, Hilmar Preusse wrote:

Hi,

> > drachi:[hille] >sudo -H /usr/bin/mktexlsr
> > mktexlsr: Updating /var/lib/texmf/ls-R.opt...
> > mktexlsr: Updating /var/lib/texmf/ls-R.local...
> > mktexlsr: Updating /var/lib/texmf/ls-R...
> > mktexlsr: Updating /var/spool/texmf/ls-R...
> > mktexlsr: Done.
> > drachi:[hille] >sudo /usr/bin/mktexlsr
> > mktexlsr: Updating /home/hille/.texmf/ls-R...
> > mktexlsr: Updating /var/lib/texmf/ls-R.opt...
> > mktexlsr: Updating /var/lib/texmf/ls-R.local...
> > mktexlsr: Updating /var/lib/texmf/ls-R...
> > mktexlsr: Updating /var/spool/texmf/ls-R...
> > mktexlsr: Done.
> > drachi:[hille] >echo $HOME
> > /home/hille
> > drachi:[hille] >
> > 
> > HOMETEXMF = $HOME/.texmf
> > TEXMF = {!!$HOMETEXMF,!!$TEXMFOPT,!!$TEXMFLOCAL,!!$TEXMFMAIN}
> > 
> > Is that an option for you? Is it OK, if we just document that
> > anywhere?
> 
> Well, it would mean documenting the use of
> 
>   sudo -H aptitude
> 
> which is slightly tedious. I find it odd that sudo and su differ in
> their behaviour in this respect (although man su doesn't mention
> setting $HOME). I'm thinking of filing bugs for those packages.
> 
HOw about that issue. Can assume it to be solved?

> That said, it might be a nice (think wishlist) thing, if mktexlsr
> would not change the ownership of the files it updates when it is
> run as root.
> 
Should be solved: #198546, #198549, #203532

Hilmar 
-- 
sigmentation fault



Reply to: