Skip to content
Tcl Source Code Artifact [ba75558713]
Login

Artifact [ba75558713]

Artifact ba75558713a8f120c62957bd6f4270696955895f:

Ticket change [ba75558713] - New ticket [1157137fffffffff|1157137fff] <i>Cannot open file if parent directory unreadable on Solaris</i>. by nobody on 2005-03-05 05:47:53.
D 2005-03-05T05:47:53
J assignee vincentdarley
J cmimetype text/plain
J comment Tcl\sversion:\s8.4.6\s&\s8.4.9\nOS:\sSolaris\s2.6\s&\s8\s(possibly\sother\sUnixes,\sbut\s*not*\s\nLinux)\n\nTo\sreplicate\sthe\sproblem,\sdo\sthe\sfollowing\sunder\sa\sshell:\n\nmkdir\s-p\s/tmp/dir1/dir2\nchmod\s111\s/tmp/dir1\ncd\s/tmp/dir1/dir2\necho\sJUNK\s>\sfile\ntclsh\n%\sopen\sfile\nerror\sgetting\sworking\sdirectory\sname:\spermission\sdenied\n\nYet\sthis\sfile\sis\svery\sreadable!\sIt's\sjust\sthat\sa\sparent\s\ndirectory\sis\snot\sreadable\s(dir1).\sFor\ssome\sreason\sTcl\s8.4\s\nappears\sto\swant\sto\sdo\sa\sgetcwd()\sbefore\sopening\sthe\sfile,\s\nwhich\sfails\son\sSolaris\s(and\spossibly\sother\sUnices).\n\nThis\sis\scausing\sus\sgreat\sgrief,\sand\sI\scannot\seven\sfind\sa\s\nworkaround\sother\sthan\sto\schange\sthe\sdirectory\s\npermissions,\swhich\swe\sdo\snot\swant\sto\sdo\sfor\ssecurity\s\nreasons.\n\nIs\sthis\sproblem\sknown\sor\spatched\ssomewhere?\sWe\sneed\s\na\sfix\sreal\ssoon!\n\nThank\syou,\nMike\sSelig
J foundin obsolete:\s8.4.9
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 37.\sFile\sSystem
J title Cannot\sopen\sfile\sif\sparent\sdirectory\sunreadable\son\sSolaris
J type Bug
K 1157137fffffffffffffffffffffffffffffffff
U nobody
Z 7663a1adee61e1a6e079cfdbc5640345