File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,23 +49,10 @@ def __init__(self):
4949 def getRemoteTempPath (self ):
5050 if not conf .tmpPath :
5151 if kb .os == "Windows" :
52- # NOTES:
53- #
54- # * The system-wide temporary files directory is
55- # C:\WINDOWS\Temp
56- #
57- # * MySQL runs by default as SYSTEM
58- #
59- # * PostgreSQL runs by default as postgres user and the
60- # temporary files directory is C:\Documents and Settings\postgres\Local Settings\Temp,
61- # however the system-wide folder is writable too
62- #
63- #infoMsg = "retrieving remote absolute path of temporary files "
64- #infoMsg += "directory"
65- #logger.info(infoMsg)
66- #
67- #conf.tmpPath = self.evalCmd("echo %TEMP%")
68- conf .tmpPath = "%TEMP%"
52+ if kb .dbms == "Microsoft SQL Server" :
53+ conf .tmpPath = "%TEMP%"
54+ else :
55+ conf .tmpPath = "C:/WINDOWS/Temp"
6956 else :
7057 conf .tmpPath = "/tmp"
7158
You can’t perform that action at this time.
0 commit comments