unix fCmd.test fails if setuid bit is set on directory
Closed / Wont Fix222055ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-11-09 14:32:14
Under AIX 4.3.3, fCmd.test fails if the setuid bit is
set on the directory where the test runs.
-------------------------------------------------------
Script command is started on Wed Nov 8 13:30:52 EST 2000.gaith1: ./tcltest ../tests/fCmd.tes
t -verbose b
==== fCmd-12.8 renamefile: generic error FAILED
==== Contents of test case:
catch {file delete -force -- tfa}
file mkdir tfa
file mkdir tfa/dir
exec chmod 555 tfa
set result [catch {file rename tfa/dir tfa2}]
exec chmod 777 tfa
file delete -force tfa
set result
==== Test generated error:
0481-014 chmod: not all requested changes were made to tfa
---- Result should have been:
1
==== fCmd-12.8 FAILED
dkf Ticket [222055ffff]: 1 change
[History diff]2001-02-07 22:09:23
hobbsplain2001-04-03 13:26:24
Logged In: YES user_id=72656 We'll take this as an acceptable inflexibility of the test suite. If you want to make a patch that would work around this, that's OK, but the test suite tries its best in numerous environments, but isn't guaranteed to account for everything (like lack of net connection, odd defaults permissions, etc).
Log in (anonymous is fine) to add a comment.