Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f6cfc279256c7b49b080dc37978f5ce2538d0aff
Ticket: 731062ffffffffffffffffffffffffffffffffff
file copy reports "not owner" although rights suffice
User & Date: nobody on 2003-10-24 23:27:06
Changes

  1. icomment:
    Logged In: NO 
    
    I am user hj, primary group membership in group 100, users.
    Proof:
    hj > who am i
        hj       pts/0    Oct 24 17:54 
    hj > grep hj /etc/passwd
    hj:x:500:100:Holger:/home/hj:/bin/bash
    hj > grep 100 /etc/group
    users:x:100:
    
    The current directory is open open for writing for members
    of group users.
    Proof:
    hj > ll -d .
    drwxrwx---   44 nobody   users       12288 Okt 24 18:22 .
    
    Now, let's copy a file to the current directory. Works fine.
    hj > cp /tmp/x .
    hj > ll x
    -rwxrwx---    1 nobody   users        4344 Okt 24 18:22 x
    Yes, the file is there!
    
    Remove the file and try the same with Tcl.
    hj > rm x
    hj > tclsh
    % file copy /tmp/x .
    error copying "/tmp/x" to "./x": not owner
    % 
    Oops, Tcl doesn't allow this, although the rights suffice.
    
    
    
    
  2. login: "nobody"
  3. mimetype: "text/plain"
  4. username: "nobody"