Artifacts Associated With Ticket 218010ffffffffff
Ticket change [81d703e0b0] (rid 117119) by nobody on 2000-10-26 00:52:04:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 867 Bug Version: 8.0.3 SubmitDate: '1998-11-25' LastModified: '1999-12-22' Severity: SER Status: Closed Submitter: pat ChangedBy: hobbs OS: Windows NT OSVersion: sp4 Machine: NA FixedDate: '2000-10-25' FixedInVersion: NA ClosedDate: '1999-12-22' email: [email protected] ReproducibleScript: I use tcl 8.0.3/tclpro to generate webpages usually on a Sparc/Solaris/compiled tcl, but in this case its on our external-to-the-firewall system, a WinNT 4.0 sp4/Netscape server 3.5 system. I'm not using the TclPro on this machine so its only a TCL issue at this time. I invoke my cgi scripts, generating a registration form which emails a copy and also writes information to multiple files for each submission. The email goes to an automatic email parser that imports into my oracle db. Every night a cron job runs on the external server to send a list of all registrations that occurred that day to my email drop which checks the database to make sure all submissions where correctly processed. If an email fails to get input, then ftp goes out to throught the firewall to the server and picks up the correct log file. ObservedBehavior: The files on the NT server are unnaccessible. They are present, and other tcl scripts can open them and use them, but the file headers are all screwed up with prohibits access from other tools. The date stamp looks like 120000 or 230000 instead of 981023. The owner is SYSTEM (from the Netscape process that ran?) attributes are everyone rwx, but filesize shows up as 0. Some of the directories were originally Unix based and someone copied them to the NTFS drives, so there is similar behaviour outside of TCL that is associated with the problem. With CuteFTP 2.6, I can see my /licensing directory and I can CD to it. With WS-FTP, I cannot see the directory but I can CD to it. Once inside, I created the "logs" directory using WinNT so it has all proper file attributes and permissions on it. I run the webforms and get the correct files written. NT can access them but not always with both FILEMANAGER and EXPLORER, or DOS. If NT sees them, it can copy them to another location, where their file attributes are now correct and all ftp tools can see them. The files in the original location however are not readable. CuteFTP does not see them so no directory list. If you know what the filename should be, a forced "Manual Get" gets the file and it is usable and OK. If you transfer the file back onto itself on the external server, the file attributes are not corrected and you still cant see it. If you create a file that was not there before (using CuteFTP), the file is normal and can be seen. WS-FTP does not see the directory, but once inside, it sees /logs directory and once inside that, it can see the TCL created files. The file attributes show weird timestamps and 0 file size and generate an FTP error if you try to transmit them. Instead of seeing a filename,date/ timestamp, filesize display, it comes back with just hours:minutes, filename and then hours+0000 and filesize 0 in the ws-ftp window. If you press the DIRINFO button, the results look correct for those files: drwx------ 1 WEB WEB 0 Oct 29 13:38 . drwx------ 1 BUILTIN 0 Oct 29 13:38 .. -rwx------ 1 BUILTIN NT AUTHORITY 2645 Oct 29 13:59 3638DFF4.txt -rwx------ 1 BUILTIN NT AUTHORITY 12 Oct 29 23:50 regnums.txt DesiredBehavior: I would expect to see tcl calling normal MS windows APIs creating normal windows NT NTFS files where all tools, filemanagers and ftp agents can see them completely normally and use them when they want to. I cannot tell if this is a WinNT problem with NTFS partitions where they are trying to emulate a Unix file system or something because the original higher up directory has Unix like attributes, or if its a TCL problem of not using correct flags and structures when creating files because it is confused with the directory structure or what. RIght now I can manually get what I need by seeing the filenames with WS-FTP and then force transferring the contents of the files with CuteFTP, but just SAYING that SUCKS. I need to have my system completely automated so it won't break down while I'm off having back surgery. This was evaluated against what Win32 APIs Tcl calls, and it seems likely not to be a Tcl problem. Tcl can sometimes have odd timestamps when creating files on a mounted system (like through samba), but file sizes are always correct. This may be exacerbated by a odd local disk mounting utility, or the Netscape server permissions for CGI executables. Tcl does call all standard Win32 stuff in the end. -- 12/22/1999 hobbs
- foundin initialized to: "obsolete: 8.0.3"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "37. File System"
- title initialized to:
Files created on WinNT NTFS partition are not accessible via
- type initialized to: "Bug"
Ticket change [b206e68a58] (rid 98265) by welch on 2000-10-26 08:12:11:
- closedate changed to: "2000-10-26T01:12:11"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"