Artifact
686fe073529acc667e5aa68a326b780e0e6b8aba:
Ticket change
[686fe07352]
- New ticket
[1661378fffffffff|1661378fff] <i>"file readable" broken on vmware shared folders</i>.
by
aotto1968 on
2007-02-16 10:13:10.
D 2007-02-16T10:13:10
J assignee dkf
J cmimetype text/plain
J comment Dear\sSupport,\n\n\s\sI\shave\sa\sproblem\swith\s"file\sreadable"\son\swinxp\s32bit\n\s\sas\svmware\sguest\son\san\sopenSuse\shost.\n\n\s\sI\susing\s"Shared\sFolders"\son\swindows\sto\saccess\n\s\sa\sdirectory\sfrom\slinux.\n\n\s\sbut\stcl\son\swinxp\shas\sa\sproblem\swith\sacessing\n\s\sfiles\son\sthe\sshared\sfolder:\n\n\s\sdetail:\n\n\s\s\s1.\sfile\sreadable\sreturns\s0\s->\snot\sreadable\n\s\s\s2.\sbut\sin\stcl\sI\scan\sopen\sand\sread\sthis\sfile\s->\sreadable\n\s\s\s3.\sthe\sproblem\sis\sthat\sthe\stcl\spkgLoader\sstops\sworking\n\nfrom\stclPkgUnknown\sin\stcl8.4\spackage.tcl\n>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>\n501\s\s\scatch\s{\n502\s\s\s\s\s\s\sforeach\sfile\s[glob\s-directory\s$dir\s-join\s-nocomplain\s\\\n503\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s*\spkgIndex.tcl]\s{\n504\s\s\s\s\s\s\s\s\s\s\sset\sdir\s[file\sdirname\s$file]\n505\s\s\s\s\s\s\s\s\s\s\sif\s{![info\sexists\sprocdDirs($dir)]\s&&\s[file\sreadable\s$file]}\s{\n506\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sif\s{[catch\s{source\s$file}\smsg]}\s{\n507\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\stclLog\s"error\sreading\spackage\sindex\sfile\s$file:\s$msg"\n508\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s}\selse\s{\n509\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sset\sprocdDirs($dir)\s1\n510\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s}\n511\s\s\s\s\s\s\s\s\s\s\s}\n512\s\s\s\s\s\s\s}\n513\s\s\s}\n<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\n\nthe\s"file\sreadable"\swill\sreturn\s0\sand\sthe\spkgLoader\swill\snot\nload\sthe\spkgIndex.tcl\sfile\n\n=>\sthis\sis\sa\sbug\nfrom\sthe\scode\sdown\syou\sget\sthe\sinfo\sthat\sfrom\sinside\stcl\n"files\sreadable"\sreturns\s0\sbut\sI\scan\sopen\sand\sread\sthe\sfile\n\ntest\sscript\n>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><\n\nparray\stcl_platform\n\nforeach\sf\s{"//.host/Shared\nFolders/FbgBase/src/TestFreiburg/lib/TestFbg/pkgIndex.tcl"}\s{\n\n\s\s\s\sputs\s"++\s$f"\n\s\s\s\sif\s{![file\sexists\s$f]}\s{\n\s\s\s\s\s\s\s\sputs\s"\s\s->\sfile\sdoes\snot\sexists\s!!"\n\s\s\s\s\s\s\s\scontinue\n\s\s\s\s}\n\s\s\s\sunset\s-nocomplain\sstat\n\s\s\s\sunset\s-nocomplain\sattribute\n\s\s\s\sfile\sstat\s$f\sstat\n\s\s\s\sarray\sset\sattribute\s[file\sattributes\s$f]\n\s\s\s\sputs\sexists:[file\sexists\s$f]\n\s\s\s\sputs\sreadable:[file\sreadable\s$f]\n\s\s\s\sparray\sstat\n\s\s\s\sparray\sattribute\n\s\s\s\sset\sFH\s[open\s$f\sr]\n\s\s\s\swhile\s{![eof\s$FH]}\s{\n\s\s\s\s\s\s\s\sputs\s"pkgIndex.tcl:\s[gets\s$FH]"\n\s\s\s\s}\n\s\s\s\sclose\s$FH\n}\n<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\n\nresults\n>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>\ntcl_platform(byteOrder)\s=\slittleEndian\ntcl_platform(machine)\s\s\s=\sintel\ntcl_platform(os)\s\s\s\s\s\s\s\s=\sWindows\sNT\ntcl_platform(osVersion)\s=\s5.1\ntcl_platform(platform)\s\s=\swindows\ntcl_platform(user)\s\s\s\s\s\s=\sSYSTEM\ntcl_platform(wordSize)\s\s=\s4\n++\s//.host/Shared\sFolders/FbgBase/src/TestFreiburg/lib/TestFbg/pkgIndex.tcl\nexists:1\nreadable:0\nstat(atime)\s=\s1171619183\nstat(ctime)\s=\s1171619183\nstat(dev)\s\s\s=\s-1\nstat(gid)\s\s\s=\s0\nstat(ino)\s\s\s=\s0\nstat(mode)\s\s=\s33188\nstat(mtime)\s=\s1171545538\nstat(nlink)\s=\s1\nstat(size)\s\s=\s369\nstat(type)\s\s=\sfile\nstat(uid)\s\s\s=\s0\nattribute(-archive)\s\s\s=\s0\nattribute(-hidden)\s\s\s\s=\s0\nattribute(-longname)\s\s=\s//.host/Shared\nFolders/FbgBase/src/TestFreiburg/lib/TestFbg/pkgIndex.tcl\nattribute(-readonly)\s\s=\s0\nattribute(-shortname)\s=\s//.host/Shared\nFolders/FbgBase/src/TestFreiburg/lib/TestFbg/pkgIndex.tcl\nattribute(-system)\s\s\s\s=\s0\npkgIndex.tcl:\s##\npkgIndex.tcl:\s##\s\stestFreiburg\s-\ssrc/TestFreiburg/lib/pkgIndex.tcl\npkgIndex.tcl:\s##\npkgIndex.tcl:\s##\s\s(C)\s2004\s-\sFreiburg\s-\sProject\s-\sGroup\npkgIndex.tcl:\s##\s\s------------------------------------------------------\npkgIndex.tcl:\s##\s\sEMail:\sfreiburg\sAT\scompiler-factory\sDOT\sde\npkgIndex.tcl:\s##\s\s------------------------------------------------------\npkgIndex.tcl:\s##\s\sall\srights\sreserved\npkgIndex.tcl:\s##\npkgIndex.tcl:\npkgIndex.tcl:\spackage\sifneeded\sTestFbg\s2.0\s[list\ssource\s[file\sjoin\s$dir\nTestFbg.tcl]]\npkgIndex.tcl:\npkgIndex.tcl:\n<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\n\n\nmfg\n\n\s\sAndreas\sOtto\n
J foundin obsolete:\s8.4.14
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter aotto1968
J subsystem 16.\sCommands\sA-H
J title "file\sreadable"\sbroken\son\svmware\sshared\sfolders
J type Bug
K 1661378fffffffffffffffffffffffffffffffff
U aotto1968
Z 73c7f5b0d70ed7725215b487ea5922ef