Hi Garrett,

>     And that's because the testcase is probably missing
>tst_require_root(NULL) in setup and the relevant setuid/seteuid error
>checking, like so many of the legacy LTP testcases do.

It has the necessary tst_require_root() check.

maxin@maxin:/opt/ltp/testcases/bin$ ./fs_perms 001 99 99 12 100 x 0
fs_perms    1  TCONF  :  Test needs to be run as root

Cyril, could you please share the Linux kernel version and the some 
other details like name of the Linux distribution
that you are using. I think that would help.

Best Regards,
Maxin B John

On 11-02-14 09:59 PM, ext Garrett Cooper wrote:
> On Mon, Feb 14, 2011 at 12:46 PM,<[email protected]>  wrote:
>> Hi,
>>
>>> What flavour of glibc/kernel are you testing there, it seems that it
>>> behaves a little different than mine. Here I have glibc-2.11.
>> I am using Ubuntu 10.10 with the kernel and glibc versions listed below:
>> Kernel:  2.6.35-25-generic #44-Ubuntu SMP
>> Glibc: glibc 2.12.1
>>
>> Here, as root, I can run the scripts even without read permissions as 
>> mentioned by Garret. However, the testcase fails , which depends on the 
>> seteuid() and setegid().
>


------------------------------------------------------------------------------
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