Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4a95321320e350a031d85d2686ea9c57b68f3086
Ticket: 1613456fffffffffffffffffffffffffffffffff
file readable lies with samba shared folder or file
User & Date: fvogelnew1 on 2006-12-11 19:48:39
Changes

  1. assignee changed to: "vincentdarley"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    On a Windows machine accessing a Linux remote PC directory shared with Samba, in wish with Tcl/Tk 8.4.14 binary distribution from ActiveState (g:/ is the samba drive):
    
    % file exists g:/
    1
    % file readable g:/
    0
    % dir g:
    [shows the network drive content]
    
    This is also the result for all directories in the hierarchy. The directories exist, they are not readable (BUG ?!?), but one can change to the directories with "cd" and the "dir" command shows their content.
    
    Now on a file:
    
    % file exists g:/<hierarchy>/pll_noise.sci
    1
    % file readable g:/<hierarchy>/pll_noise.sci
    0
    % file owned g:/<hierarchy>/pll_noise.sci
    1
    % file size g:/<hierarchy>/pll_noise.sci
    8338
    
    This file, pll_noise.sci was created by an admin user.
    
    The OS is a german Win2000 SP4 (build 5.00.2195). The samba network drive is only accessed from Windows, the admin user has full rights to the complete network drive (the hierarchy has been created from Windows).
    
    There are only 7-bit ASCII-characters in the network path, no white space, etc. The total length of the Windows network path including computername and all slashes is 62 characters and is of the structure \\\computer\dir1\dir2\dir3\dir4\dir5\dir6\pll_noise.sci
    
    The drive is used by several other Windows programs without problems (MSOffice, OpenOffice, Acroread). The file access properties of pll_noise.sci show all "allow" checkboxes checked. The directories of the hierarchy have no checks in neither "allow" nor "disallow" checkboxes, the checkbox "inherit properties from parent directory" is also blank, but in the "advanced" properties the user is granted full access.
    
    The file pll_noise.sci can be read with OpenOffice2, Notepad, etc, through the Samba network. But the check on file readable fails and this sounds wrong to me.
    
    Other files on the network drive (regardless of their position in the hierarchy) also have file readable to return 0 (wrong!), but can be opened with other Windows programs.
    
    Moving the file to a shared WinXP folder on an NTFS partition on another PC lets file readable return 1 correctly. I guess that the samba share is the cause here for an incorrect result of file readable.
    
    Francois
    
    
  4. foundin changed to: "obsolete: 8.4.14"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "fvogelnew1"
  10. subsystem changed to: "37. File System"
  11. title changed to:
    file readable lies with samba shared folder or file
    
  12. type changed to: "Bug"