Tcl Source Code

Artifact [f19a115afd]
Login

Artifact f19a115afd2720021ed42c96b9d7c1a35a555d8f:

Ticket change [f19a115afd] - Ticket [1613456fff] file readable lies with samba shared folder or file status still Open with 3 other changes by kjnash 2017-07-23 14:41:00.
D 2017-07-23T14:41:00.210
J icomment I\shave\salso\sfound\sthat\s[file\sreadable|writable]\sreturns\s0\son\sWindows\swhen\sit\s\r\nshould\sreturn\s1\s-\sin\sthis\scase\sfor\sthe\spseudo-network\sshared\sdirectory\sof\s\r\nVirtualBox\swhen\sWindows\sruns\sin\sa\sVM.\r\n\r\nThe\sshared\sdirectory\son\sthe\s(Linux)\shost\sis\srepresented\sas\s\\\\vboxsrv\sand\salso\sas\sdrive\s"E:".\s\sThis\sis\sa\swish\s8.6.6\sconsole\ssession:\r\n\r\n<verbatim>\r\n(bin)\s1\s%\scd\sE:/\r\n()\s2\s%\sfile\smkdir\stemp1\r\n()\s3\s%\sfile\swritable\stemp1\r\n0\r\n()\s4\s%\sfile\smkdir\stemp1/temp2\r\n()\s5\s%\sset\sfout\s[open\stemp1/temp.txt\sw]\r\nfile3815c60\r\n()\s6\s%\sputs\s$fout\sHi!\r\n()\s7\s%\sclose\s$fout\r\n()\s8\s%\sfile\swritable\stemp1\r\n0\r\n()\s9\s%\s\r\n()\s9\s%\s\r\n()\s9\s%\sfile\sreadable\stemp1/temp.txt\r\n0\r\n()\s10\s%\sset\sfin\s[open\stemp1/temp.txt]\r\nfile37da530\r\n()\s11\s%\sread\s$fin\r\nHi!\r\n\r\n()\s12\s%\sclose\s$fin\r\n()\s13\s%\sfile\sreadable\stemp1/temp.txt\r\n0\r\n()\s14\s%\s\r\n</verbatim>\r\n\r\nThe\sshared\sdirectory\son\sLinux\sis\sowned\sby\sthe\ssame\suser\sthat\sruns\sVirtualBox.\s\sFiles\sare\screated\swith\sconventional\spermissions:\s775\sfor\sdirectories,\s664\sfor\sfiles.\s\sChanging\sthese\sto\s777,\s666\smakes\sno\sdifference\sto\s[file\sreadable|writable]\sin\sTcl\sin\sthe\sWindows\sguest\sOS,\seven\sin\sa\sfresh\sTcl\sinterpreter.\r\n\r\nJeff\smentioned\sbelow\sa\ssimilar\sbug\sin\sTcl\swhen\susing\sVMware\s-\s[1661378fffffffff].
J login kjnash
J mimetype text/x-fossil-wiki
K 1613456fffffffffffffffffffffffffffffffff
U kjnash
Z 9f5279143917959848c1e6966ca68e6e