Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 73177a9242f77143a4e514c8e164372ab05df201dbb623d3f50d845320d2f0ff
Ticket: 1523045fffffffffffffffffffffffffffffffff
file cmd fails to copy to VFAT
User & Date: jan.nijtmans on 2026-11-11 14:35:12
Changes

  1. assignee changed to: "jan.nijtmans"
  2. closer changed to: "nobody"
  3. comment changed to:
    On Linux (Kernel 2.6.5-7.111.19, glibc-2.3) copying the
    file "short" to a directory on a VFAT filesystem fails,
    
     file copy short /D/home/bs
     error copying "short" to "/D/home/bs/short": not owner
    
    The actual copying works fine but since the target's
    permissions can not be set, the copy is unlinked and an
    error is generated afterwards. The strace outputs is
    
    ---------------------------------------------
    lstat64("short", {st_mode=S_IFREG|0644, st_size=13,
    ...}) = 0
    lstat64("/windows/D/home/bs/short", 0xbfffe5d8) = -1
    ENOENT (No such file or di
    unlink("/windows/D/home/bs/short")      = -1 ENOENT (No
    such file or directory)
    open("short", O_RDONLY|O_LARGEFILE)     = 6
    open("/windows/D/home/bs/short",
    O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0100644)
    read(6, "file to copy\n", 4096)         = 13
    write(7, "file to copy\n", 13)          = 13
    read(6, "", 4096)                       = 0 
    close(6)                                = 0
    close(7)                                = 0
    chmod("/windows/D/home/bs/short", 0644) = -1 EPERM
    (Operation not permitted)
    chmod("/windows/D/home/bs/short", 0644) = -1 EPERM
    (Operation not permitted)   
    unlink("/windows/D/home/bs/short")      = 0
    write(1, "error copying \"short\" to \"/D/hom"..., 56) = 56
    --------------------------------------
    
  4. login: "jan.nijtmans"
  5. mimetype: "text/plain"
  6. resolution changed to: "Fixed"
  7. severity changed to: "Minor"
  8. status changed to: "Pending"