Changeset 115 for trunk/test


Ignore:
Timestamp:
Aug 21, 2007, 10:22:59 PM (17 years ago)
Author:
rainer
Message:

Fix the problem that new suid/sgid file found by the file system check already will not be quarantined in the suid check (ticket #71).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/testrun_1c.sh

    r55 r115  
    173173chk_suiddata_5 () {
    174174    one_sec_sleep
     175    if [ ! -f "${BASE}/a/a/x" ]; then
     176        [ -z "$verbose" ] || log_msg_fail "${BASE}/a/a/x (erroneously deleted)";
     177        return 1
     178    fi
    175179    if [ -f "${BASE}/a/a/y" ]; then
    176180        [ -z "$verbose" ] || log_msg_fail "${BASE}/a/a/y (not deleted)";
     
    310314    test -f "${RCFILE}" || touch "${RCFILE}"
    311315    eval echo '"$'"SUIDPOLICY_$1"'"' >>"${RCFILE}"
     316    if [ "x$1" = "x5" ]; then
     317        chmod 4755 "${BASE}/a/a/x"
     318    fi
    312319}
    313320
Note: See TracChangeset for help on using the changeset viewer.