Hi!
> > in setup phase of chown03 testcase, it set effective gid/uid before
> > create tmpdir, this might cause EPERM error under some circumstance:
> >
> > chown03     1  TBROK  :  chown(/tmp/ltp-1FYYTiULQl/chos2UBh3, -1, 0) 
> > failed: errno=EPERM(1): Operation not permitted
> > chown03     2  TBROK  :  Remaining cases broken
> > chown03     0  TWARN  :  tst_brk: Invalid Type: 4. Using TBROK
> 
> That message is bizarre and looks like another bug in lib/... .

Hmm, looks like the tst_tmpdir() is trying to change group id to
getgid() which returns 0, but you are not allowed (at least in this
case) to do that with egid for nobody. (on my machine this works fine).

And yes, the tst_tmpdir() would need some cleanup...

-- 
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to