Skip to content
Tcl Source Code History Of Ticket 929892ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 929892ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 929892ffffffffffffffffffffffffffffffffff

  1. Ticket change [5946047b0f] (rid 117951) by tauvan on 2004-04-05 18:15:13:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      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
      
    4. foundin initialized to: "obsolete: 8.4.6"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "tauvan"
    9. subsystem initialized to: "16. Commands A-H"
    10. title initialized to: "cmdAH-18.2 FAILED executable"
    11. type initialized to: "Bug"
  2. Ticket change [b42b6dc920] (rid 124981) by dkf on 2004-04-06 15:59:58:

    1. closedate changed to: "2004-04-06T08:59:58"
    2. closer changed to: "dkf"
    3. icomment:
      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
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dkf"