[tex-k] kpseaccess.test fails on r18349 (FreeBSD)

Nikola Lečić nikola.lecic at anthesphoria.net
Thu May 20 13:37:25 CEST 2010


On Thu, May 20, 2010 at 10:18:21AM +0200
  in <alpine.LNX.2.00.1005200906220.11240 at pcl321.mppmu.mpg.de>
  Peter Breitenlohner <peb at mppmu.mpg.de> wrote:

> On Thu, 20 May 2010, Nikola Le?i? wrote:
> 
> > kpseaccess.test doesn't pass on FreeBSD, r18349.
> >
> > More precisely, the following three lines cause test to fail:
> >
> > ./kpseaccess x access.o && exit 1
> > ./kpseaccess rwx kpseaccess || exit 1
> >
> > Files in question:
> >
> > -rw-r--r--  1 root  wheel   8152 May 19 15:06 access.o
> > -rwxr-xr-x  1 root  wheel  11694 May 19 15:06 kpseaccess
> >
> > Log extract:
> >
> > PASS: kpsestat.test
> > /root/TL-Work-18349/texmf
> 
> Hi Nikola,
> 
> could it be that you have been running this as root user?
> 
> (1) you should never do that, much too dangerous.
> 
> what is the output from 'id'?

# id
uid=0(root) gid=0(wheel) groups=0(wheel),5(operator)

Yes, I do run it as root, but in a jail (all builds are done in
separate clean environments), so that's not system's root and it's
actually safer than running as a regular user.

Actually, I have never run check as non-root and this is the first
time that anything failed because of that.

Running kpseaccess.test as a non-root fixes only one test that
previously failed:

% id
uid=1002(jailuser) gid=1002(jailuser) groups=1002(jailuser)
% ls -l access.o
-rw-r--r--  1 jailuser  jailuser  5624 May 19 21:45 access.o
% ls -l kpseaccess 
-rwxr-xr-x  1 jailuser  jailuser  8914 May 19 21:45 kpseaccess
%
% ./kpseaccess x access.o && echo "doesn't pass"
% ./kpseaccess rwx kpseaccess || echo "doesn't pass"
doesn't pass

Best regards,
-- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 314 bytes
Desc: not available
URL: <http://tug.org/pipermail/tex-k/attachments/20100520/27893b31/attachment.bin>


More information about the tex-k mailing list