Artifacts Associated With Ticket 3c13c4ed3149202f
Ticket change [0c61261378] (rid 133257) by anonymous on 2013-08-12 11:34:37:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OS is Windows7 64bit. 'file delete $file' on a symbolic link to a directory fails with: "illegal operation on a directory". (Same behaviour with option -force). The command works fine on a junction point.
- foundin initialized to: "8.5.14"
- is_private initialized to: "0"
- login: "anonymous"
- priority initialized to: "5 Medium"
- private_contact initialized to: "97c7f8b9b76b8c0d18767167860208a183c85291"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "anonymous"
- subsystem initialized to: "16. Commands A-H"
- title initialized to:
file delete command fails on symbolic links to directories
- type initialized to: "Bug"
Ticket change [049f0f6bcf] (rid 133265) by jan.nijtmans on 2013-08-13 13:14:42:
- closedate changed to: "2456518.05188206"
- closer changed to: "jan.nijtmans"
- icomment:
What is the content of the $file variable? Does it contain the ".lnk" extension? On Windows, links are just files with the .lnk extension, and Tcl handles them like that just fine. I created a directory "bar" and a link "bar1" to it in Windows explorer. See below for the behavior of Tcl 8.5 on it. My conclusion: works as designed. I removed the 3 other tickets you submitted today, because they are all the same issue. =================================================== >dir Volume in drive C is WINDOWS Volume Serial Number is B47C-2648 Directory of C:\bar 13-08-2013 15:04 <DIR> . 13-08-2013 15:04 <DIR> .. 13-08-2013 15:04 <DIR> foo 13-08-2013 15:04 1.089 foo1.lnk 1 File(s) 1.089 bytes 3 Dir(s) 423.596.019.712 bytes free >tclsh85 % glob * foo foo1.lnk % file delete foo1.lnk % exit >dir Volume in drive C is WINDOWS Volume Serial Number is B47C-2648 Directory of C:\bar 13-08-2013 15:06 <DIR> . 13-08-2013 15:06 <DIR> .. 13-08-2013 15:04 <DIR> foo 0 File(s) 0 bytes 3 Dir(s) 423.596.015.616 bytes free - login: "jan.nijtmans"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"