[Bug] Issue with Scoop Export: Dubious Ownership Detected in Repository #5893
Replies: 5 comments
-
Did you migrate Scoop from another user account or reset/reinstall OS then log in another account? The same error should occur when you execute If it's just caused by git/bucket repo:
Scoop cannot solve permissions issue on your OS by any changes. |
Beta Was this translation helpful? Give feedback.
-
I believe I accidentally ran scoop using admin terminal. Does it cause any other problems? I have not seen any issue so far. |
Beta Was this translation helpful? Give feedback.
-
No |
Beta Was this translation helpful? Give feedback.
-
I encountered this problem after updating from Windows 10 to Windows 11, I now want to reinstall scoop, does anyone know how to backup the already installed apps, the export command has already failed and is the same as the mentioned error. |
Beta Was this translation helpful? Give feedback.
-
I solved this error with this command, which disables ownership verification for all users and all repositories, see the following link for reference. git config --system --add safe.directory '*' |
Beta Was this translation helpful? Give feedback.
-
Title: Issue with Scoop Export: Dubious Ownership Detected in Repository
Bug Report
Current Behavior
While running
scoop export
command, I encountered an issue with ownership in the Scoop repository. Specifically, a fatal error was raised indicating dubious ownership in the repository at 'C:/Users/xxx/scoop/buckets/main'. The error message stated that this directory is owned by 'S-1-5-32-544', but the current user is 'S-1-5-21-883395466-3049311533-3443746805-1001'. This issue prevented the execution of thescoop export
command initially.Expected Behavior
The
scoop export
command should execute without any ownership or permission issues, allowing for the successful export of Scoop configurations.Additional context/output
Here is the PowerShell output when the issue occurred:
Possible Solution
A temporary workaround I used was to add an exception for the directory using
git config --global --add safe.directory C:/Users/xxx/scoop/buckets/main
. However, this seems more like a workaround rather than a permanent solution.System details
Windows version: windows 11
OS architecture: AMD64
PowerShell version: 7.4
Additional software: [If applicable, please list any additional software you are using]
Beta Was this translation helpful? Give feedback.
All reactions