Warning, /testsuites/fstests/fspermission/jffs2_fspermission.scn is written in an unsupported language. File is not indexed.
0001
0002
0003 *** FILE SYSTEM TEST ( JFFS2 ) ***
0004 Initializing filesystem JFFS2
0005
0006
0007 *** PERMISSION TEST ***
0008 The previous cmask is 022
0009 The file mode of file01 is 755
0010 The file mode of file02 is 755
0011 The file mode of dir01 is 755
0012 The previous cmask is 321
0013 The file mode of file01 is 456
0014 The file mode of file02 is 456
0015 The file mode of dir01 is 456
0016 The file mode of file01 is 777
0017 The file mode of file02 is 240
0018 The file mode of dir01 is 340
0019 Testing open with arguments: "file02,O_RDONLY" EXPECT "EACCES"
0020 PASS
0021 Testing open with arguments: "file02,O_RDWR" EXPECT "EACCES"
0022 PASS
0023 Change euid and check
0024 Testing open with arguments: "file02,O_WRONLY" EXPECT "EACCES"
0025 PASS
0026 Testing open with arguments: "file02,O_RDWR" EXPECT "EACCES"
0027 PASS
0028 Testing creat with arguments: "path,mode" EXPECT "EACCES"
0029 PASS
0030 Testing rename with arguments: "path,\"test\"" EXPECT "EACCES"
0031 PASS
0032 Testing truncate with arguments: "path,0" EXPECT "EACCES"
0033 PASS
0034 Testing link with arguments: "path,\"test\"" EXPECT "EACCES"
0035 PASS
0036 Testing unlink with arguments: "path" EXPECT "EACCES"
0037 PASS
0038 Change egid and check
0039 Testing open with arguments: "file02,O_WRONLY" EXPECT "EACCES"
0040 PASS
0041 Testing open with arguments: "file02,O_RDONLY" EXPECT "EACCES"
0042 PASS
0043 Testing open with arguments: "file02,O_RDWR" EXPECT "EACCES"
0044 PASS
0045 Testing creat with arguments: "path,mode" EXPECT "EACCES"
0046 PASS
0047 The directory file mode is 777
0048 The directory file mode is 321
0049 *** END OF PERMISSION TEST ***
0050
0051
0052 Shutting down filesystem JFFS2
0053 *** END OF FILE SYSTEM TEST ( JFFS2 ) ***