|
2004-04-06
| ||
| 15:59 | • Closed ticket [929892ffff]: cmdAH-18.2 FAILED executable plus 7 other change... artifact: b42b6dc920 user: dkf | |
|
2004-04-05
| ||
| 18:15 | • New ticket [929892ffff]. artifact: 5946047b0f user: tauvan | |
cmdAH-18.2 FAILED executable
Closed / Fixed929892ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2004-04-05 18:15:13
machine: mac ppc G4 (1st PCI 400Mhz) OSX 10.1.5
as root
result : 0 expected : 1
code:
set gorpfile [makeFile abcde gorp.file]
file executable $gorpfile
attributes of a makeFile:
-group staff -owner steven -permissions 00644
-group staff -owner root -permissions 00644
question:
should makeFile as local be
-group staff -owner steven -permissions 00664
support info:
neither are executable
open $fullName w denied as local if created as root
Even if a process has appropriate privileges and
indicates success for X_OK, the file may not actually
have execute permission bits set.
so I'm not sure what the test is asking
just that you can stop the error message by
test cmdAH-18.2 ..... {testchmod notRoot} {...} 0
test cmdAH-18.2.1 ... {testchmod root} {...} 1
dkfplain2004-04-06 15:59:58
Logged In: YES user_id=79902 Hmm. access(..., X_OK) is defined as not being required to return useful information when running as root. OTOH, it isn't required to say that every file may be executed by root either; it depends on the OS, the filesystem, and how the FS was mounted. Only safe thing to do is to mark the test as being notRoot; there's no cross-platform way to check when root that doesn't go through exactly what we want to test in this test, which would lead to a worthless circular test. Fixed in HEAD and 8.4 branch
Log in (anonymous is fine) to add a comment.