You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since WAU 2.0.0 and the move from "C:\ProgramData\Winget-AutoUpdate\Logs" to "C:\Program Files\Winget-AutoUpdate\logs" something must have changed with handling the permissions in the folder.
With WAU 1.X.X I have used the old winget-install to install apps in the userpart (for example Greenshot.Greenshot) and the logoutput worked fine with writing to the WAU logs folder. Since 2.0.0 this does not work anymore with permissions denied.
What version of WAU has the issue?
2.0.0
What version of Windows are you using (ex. Windows 11 22H2)?
Windows 11 24H2
What version of winget are you using?
v1.8.1911
Log information
No response
Additional information
No response
The text was updated successfully, but these errors were encountered:
Hi,
only the "C:\Program Files\Winget-AutoUpdate\logs\updates.log" file has additional RW permissions.
Logs folder is still possessing inherited access rights from ProgramFiles folder.
Also I cannot recreate your problem, logfile accepts outputs from Winget-AutoUpdate-UserContext task.
BR
AD
FaserF
added a commit
to FaserF/Winget-AutoUpdate
that referenced
this issue
Oct 24, 2024
Hi @AndrewDemski-ad-gmail-com
thanks for the Feedback!
I was testing it with the "Winget-Install.ps1" while installing an application in the name of the user without admin permissions (Greenshot). Got a lot of errors which said that there is no access in writing the logs.
Interesting, that it works with WAU user runs, but WAU elevates itself to run in the user, maybe thats the difference.
The problem
Since WAU 2.0.0 and the move from "C:\ProgramData\Winget-AutoUpdate\Logs" to "C:\Program Files\Winget-AutoUpdate\logs" something must have changed with handling the permissions in the folder.
With WAU 1.X.X I have used the old winget-install to install apps in the userpart (for example Greenshot.Greenshot) and the logoutput worked fine with writing to the WAU logs folder. Since 2.0.0 this does not work anymore with permissions denied.
What version of WAU has the issue?
2.0.0
What version of Windows are you using (ex. Windows 11 22H2)?
Windows 11 24H2
What version of winget are you using?
v1.8.1911
Log information
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: