1*49cdfc7eSAndroid Build Coastguard Worker# 2*49cdfc7eSAndroid Build Coastguard Worker# These tests are setting file permissions/group/uid and are trying to 3*49cdfc7eSAndroid Build Coastguard Worker# open/write/execute the file. 4*49cdfc7eSAndroid Build Coastguard Worker# 5*49cdfc7eSAndroid Build Coastguard Worker# fs_perms file_mode file_uid file_gid test_uid test_gid mode (r|w|x) expected_result 6*49cdfc7eSAndroid Build Coastguard Worker 7*49cdfc7eSAndroid Build Coastguard Worker# We are executing shell script, thuss 8*49cdfc7eSAndroid Build Coastguard Worker# both exec and read right is needed. 9*49cdfc7eSAndroid Build Coastguard Workerfs_perms01 fs_perms 005 99 99 12 100 x 0 10*49cdfc7eSAndroid Build Coastguard Workerfs_perms02 fs_perms 050 99 99 200 99 x 0 11*49cdfc7eSAndroid Build Coastguard Workerfs_perms03 fs_perms 500 99 99 99 500 x 0 12*49cdfc7eSAndroid Build Coastguard Workerfs_perms04 fs_perms 002 99 99 12 100 w 0 13*49cdfc7eSAndroid Build Coastguard Workerfs_perms05 fs_perms 020 99 99 200 99 w 0 14*49cdfc7eSAndroid Build Coastguard Workerfs_perms06 fs_perms 200 99 99 99 500 w 0 15*49cdfc7eSAndroid Build Coastguard Workerfs_perms07 fs_perms 004 99 99 12 100 r 0 16*49cdfc7eSAndroid Build Coastguard Workerfs_perms08 fs_perms 040 99 99 200 99 r 0 17*49cdfc7eSAndroid Build Coastguard Workerfs_perms09 fs_perms 400 99 99 99 500 r 0 18*49cdfc7eSAndroid Build Coastguard Workerfs_perms10 fs_perms 000 99 99 99 99 r 1 19*49cdfc7eSAndroid Build Coastguard Workerfs_perms11 fs_perms 000 99 99 99 99 w 1 20*49cdfc7eSAndroid Build Coastguard Workerfs_perms12 fs_perms 000 99 99 99 99 x 1 21*49cdfc7eSAndroid Build Coastguard Workerfs_perms13 fs_perms 010 99 99 99 500 x 1 22*49cdfc7eSAndroid Build Coastguard Workerfs_perms14 fs_perms 100 99 99 200 99 x 1 23*49cdfc7eSAndroid Build Coastguard Workerfs_perms15 fs_perms 020 99 99 99 500 w 1 24*49cdfc7eSAndroid Build Coastguard Workerfs_perms16 fs_perms 200 99 99 200 99 w 1 25*49cdfc7eSAndroid Build Coastguard Workerfs_perms17 fs_perms 040 99 99 99 500 r 1 26*49cdfc7eSAndroid Build Coastguard Workerfs_perms18 fs_perms 400 99 99 200 99 r 1 27