1# 2# These tests are setting file permissions/group/uid and are trying to 3# open/write/execute the file. 4# 5# fs_perms file_mode file_uid file_gid test_uid test_gid mode (r|w|x) expected_result 6 7# We are executing shell script, thuss 8# both exec and read right is needed. 9fs_perms01 fs_perms 005 99 99 12 100 x 0 10fs_perms02 fs_perms 050 99 99 200 99 x 0 11fs_perms03 fs_perms 500 99 99 99 500 x 0 12fs_perms04 fs_perms 002 99 99 12 100 w 0 13fs_perms05 fs_perms 020 99 99 200 99 w 0 14fs_perms06 fs_perms 200 99 99 99 500 w 0 15fs_perms07 fs_perms 004 99 99 12 100 r 0 16fs_perms08 fs_perms 040 99 99 200 99 r 0 17fs_perms09 fs_perms 400 99 99 99 500 r 0 18fs_perms10 fs_perms 000 99 99 99 99 r 1 19fs_perms11 fs_perms 000 99 99 99 99 w 1 20fs_perms12 fs_perms 000 99 99 99 99 x 1 21fs_perms13 fs_perms 010 99 99 99 500 x 1 22fs_perms14 fs_perms 100 99 99 200 99 x 1 23fs_perms15 fs_perms 020 99 99 99 500 w 1 24fs_perms16 fs_perms 200 99 99 200 99 w 1 25fs_perms17 fs_perms 040 99 99 99 500 r 1 26fs_perms18 fs_perms 400 99 99 200 99 r 1 27