Overview
| Artifact ID: | f126f8dcbc972b89563e3e4ab393eaa28124d185 |
|---|---|
| Ticket: | 1613456fffffffffffffffffffffffffffffffff
file readable lies with samba shared folder or file |
| User & Date: | dkf on 2013-09-24 12:02:55 |
Changes
- assignee changed to: "aku"
- closer changed to: "nobody"
- 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
- icomment:
Is this still an issue? (I have completely the wrong platform to check myself…)
- login: "dkf"
- mimetype: "text/html"
- severity changed to: "Minor"
- username: "dkf"