Overview
| Artifact ID: | ba75558713a8f120c62957bd6f4270696955895f |
|---|---|
| Ticket: | 1157137fffffffffffffffffffffffffffffffff
Cannot open file if parent directory unreadable on Solaris |
| User & Date: | nobody on 2005-03-05 05:47:53 |
Changes
- assignee changed to: "vincentdarley"
- cmimetype changed to: "text/plain"
- comment changed to:
Tcl version: 8.4.6 & 8.4.9 OS: Solaris 2.6 & 8 (possibly other Unixes, but *not* Linux) To replicate the problem, do the following under a shell: mkdir -p /tmp/dir1/dir2 chmod 111 /tmp/dir1 cd /tmp/dir1/dir2 echo JUNK > file tclsh % open file error getting working directory name: permission denied Yet this file is very readable! It's just that a parent directory is not readable (dir1). For some reason Tcl 8.4 appears to want to do a getcwd() before opening the file, which fails on Solaris (and possibly other Unices). This is causing us great grief, and I cannot even find a workaround other than to change the directory permissions, which we do not want to do for security reasons. Is this problem known or patched somewhere? We need a fix real soon! Thank you, Mike Selig
- foundin changed to: "obsolete: 8.4.9"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "37. File System"
- title changed to:
Cannot open file if parent directory unreadable on Solaris
- type changed to: "Bug"