Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f26a5773d68fb70158a22f776448f757ac75cdcf
Ticket: 17a26ddf6600651cc7e2930fbe5a96c13fdbd8f2
fCmd-27.5 and 27.6 fail because permission to set attribute is denied
User & Date: pooryorick on 2014-10-22 15:18:17
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    ==== fCmd-27.5 TclFileAttrsCmd - setting one option FAILED
    ==== Contents of test case:
        createfile foo.tmp
        set attrs [file attributes foo.tmp]
        file attributes foo.tmp {*}[lrange $attrs 0 1]
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ---- errorInfo: could not set group for file "foo.tmp": not owner
        while executing
    "file attributes foo.tmp {*}[lrange $attrs 0 1]"
        ("uplevel" body line 4)
        invoked from within
    "uplevel 1 $script"
    ---- errorCode: POSIX EPERM {not owner}
    ==== fCmd-27.5 FAILED
    
    
    
    ==== fCmd-27.6 TclFileAttrsCmd - setting more than one option FAILED
    ==== Contents of test case:
    
        createfile foo.tmp
        set attrs [file attributes foo.tmp]
        file attributes foo.tmp {*}[lrange $attrs 0 3]
    
    ---- Test generated error; Return code was: 1
    ---- Return code should have been one of: 0 2
    ---- errorInfo: could not set group for file "foo.tmp": not owner
        while executing
    "file attributes foo.tmp {*}[lrange $attrs 0 3]"
        ("uplevel" body line 4)
        invoked from within
    "uplevel 1 $script"
    ---- errorCode: POSIX EPERM {not owner}
    ==== fCmd-27.6 FAILED
    
  5. foundin changed to: "8.5.17rc0"
  6. is_private changed to: "0"
  7. login: "pooryorick"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "26417e9c0be88acc29a08c1963de811610844a14"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "pooryorick"
  14. subsystem changed to: "37. File System"
  15. title changed to:
    fCmd-27.5 and 27.6 fail because permission to set attribute is denied
    
  16. type changed to: "Bug"