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
I have searched all issues/PRs to ensure it has not already been reported or fixed.
I have verified that I am using the latest version of Scoop and corresponding bucket.
Package Name
calibre
Expected/Current Behaviour
I install as Administrator using
scoop install calibre -g
or
scoop update calibre -g
This makes all subfiles and folders of the installed dir unreadable by regular:
c:\ProgramData\scoop\apps\calibre<version>*
Steps to Reproduce
scoop update calibre -g
Possible Solution
The problem is its being unpacked in Temp storage and then moved.
The temp storage of the Administrator accoun to does not give files Users readable permissions.
I have fixed this in a pull-request by running this afterwards:
Icacls $dir /t /c /reset
I have tested it on my environment and it works fine.
I have also tested behaviour of windows writing files to temp-storage, and then manually copying to scoop-install-dir, and can see that all files and folders recursively do not get the user-readable permission after copy, so a recursive reset is required.
Prerequisites
Package Name
calibre
Expected/Current Behaviour
I install as Administrator using
scoop install calibre -g
or
scoop update calibre -g
This makes all subfiles and folders of the installed dir unreadable by regular:
c:\ProgramData\scoop\apps\calibre<version>*
Steps to Reproduce
scoop update calibre -g
Possible Solution
The problem is its being unpacked in Temp storage and then moved.
The temp storage of the Administrator accoun to does not give files Users readable permissions.
I have fixed this in a pull-request by running this afterwards:
Icacls $dir /t /c /reset
I have tested it on my environment and it works fine.
I have also tested behaviour of windows writing files to temp-storage, and then manually copying to scoop-install-dir, and can see that all files and folders recursively do not get the user-readable permission after copy, so a recursive reset is required.
I'm running an up2date win11.
Scoop and Buckets Version
newest
Scoop Config
PowerShell Version
7.4.5
Additional Softwares
No response
The text was updated successfully, but these errors were encountered: