On Tuesday 06 May 2008, Mike Frysinger wrote:
> On Monday 05 May 2008, Alvin wrote:
> > x a 000 file owned by (99/99) as user/group(99/99)  PASS
> > x a 010 file owned by (99/99) as user/group(99/500)  FAIL
> > x a 100 file owned by (99/99) as user/group(200/99)  PASS
>
> the current ltp code says these should all be doable, but i think
> simpletest.sh is incorrect.  none of these permission/ownership
> combinations should allow execution (and that's the behavior i see in
> Linux).  the old test code would always return 0 instead of actually
> testing to see if the exec() worked.

nm ... the inverted meaning of standard true/false and 0/1 confused me.  i 
changed the code to follow the normal meaning (zero means success and all 
non-zero means failure).
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to