Hi!
> > On the preliminary analysis of  this failure, I came to know that the 
> > reason was due to insufficient file permissions provided in the
> > "runtests/fs_perms_simple" . To execute a script file, 'user', 'group', or 
> > 'others' should have 'read' and 'execute' permissions.
> > Based on that, I have modified the "s_perms_simple"  file as follows:
> > 
> > -fs_perms01 fs_perms 001 99 99 12 100 x 0
> > -fs_perms02 fs_perms 010 99 99 200 99 x 0
> > -fs_perms03 fs_perms 100 99 99 99 500 x 0
> > +fs_perms01 fs_perms 005 99 99 12 100 x 0
> > +fs_perms02 fs_perms 050 99 99 200 99 x 0
> > +fs_perms03 fs_perms 500 99 99 99 500 x 0
> 
> Actually these are correct, the last number in a row is
> 'expected result'. So execution of these files must fail in order for
> the test to succeed.

Reading the source again, 0 is success there.

But then 001 is right to exec by other which should work.
         010 is right to exec for group, which is the same on that line
         100 is right to exec for owner, which is the same again

So this should really work. Let me know if the test works for you with
previously posted patch.

-- 
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to