Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache folder running under SYSTEM account should be C:\Windows\TEMP #826

Closed
ferventcoder opened this issue Jun 23, 2016 · 0 comments
Closed

Comments

@ferventcoder
Copy link
Member

ferventcoder commented Jun 23, 2016

Using Path.GetTempPath() instead of Environment.GetEnvironmentVariable("TEMP") in #532 has caused the SYSTEM user to return one of the following:

  • c:\windows\system32\config\systemprofile\appdata\local\temp
  • c:\windows\syswow64\config\systemprofile\appdata\local\temp

These folders seem to cause issues with accessing files, causing all kinds of fun issues, such as "Not able to read package from path" and not able to find executables being downloaded to these folders.

If one of these two folders is detected, ensure that the folder structure is %SystemRoot%\TEMP.

@ferventcoder ferventcoder added this to the 0.9.10.3 milestone Jun 23, 2016
@ferventcoder ferventcoder self-assigned this Jun 23, 2016
ferventcoder added a commit that referenced this issue Jun 23, 2016
Using `Path.GetTempPath()` instead of
`Environment.GetEnvironmentVariable("TEMP")` in 76ae7e2 for GH-532
has caused the SYSTEM user to return one of the following:

 * `c:\windows\system32\config\systemprofile\appdata\local\temp`
 * `c:\windows\syswow64\config\systemprofile\appdata\local\temp`

These folders seem to cause issues with accessing files, causing all
kinds of fun issues, such as "Not able to read package from path" and
not able to find executables being downloaded to these folders.

If one of these two folders is detected, ensure that the folder
structure is `%SystemRoot%\TEMP`.
ferventcoder added a commit that referenced this issue Jun 23, 2016
* stable:
  (GH-826) SYSTEM user always uses machine TEMP
  (GH-808) Allow silent args as array
  (GH-821) ValidExitCodes not recognized return 0
  (GH-818) Allow disk to catch up - sleep
  (GH-822) Provide pending override and file wait
  (GH-818) Wait for processes to exit + 2 seconds
  (maint) formatting
  (GH-819) Fix - NotSilent install failure binding
  (GH-775) remove 7za
  (GH-775) Use 7z instead of 7za
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants