| Ticket UUID: | 3531271 | ||
| Title: | glob with unreadable directory | ||
| Type: | Bug | Created on: | 2012-06-01 08:11:37 |
| Submitter: | guardus | Assigned to: | vincentdarley |
| Subsystem: | 37. File System | Severity: | |
| Priority: | 5 Medium | Last modified: | 2012-06-01 08:11:37 |
| Status: | Open | Closed by: | |
| Resolution: | None | Closed on: | |
| Version: | None | ||
| Description: | ||||
glob returns an error if the directory is unreadable. It would be nice if there is at least an option to silently ignore unreadable directories. I am using ActiveState Tcl 8.5.11.1 on linux. > ls -ld tmp* d--------- 2 user group 4096 2012-06-01 00:43 tmp/ drwxr-xr-x 2 user group 4096 2012-06-01 01:03 tmp2/ > tclsh > puts $tcl_patchLevel 8.5.11 > glob -nocomplain -type f -- */*.c couldn't read directory "tmp/": permission denied > glob -nocomplain -type f -- tmp2/*.c tmp2/a.c | ||||
