Error on Save - repository path (backup folder) is not owned by current user

The error message shows after saving the project file: "repository path ‘C:/Users/User/Documents/PHPMaker/Backup’ is not owned by current user."I have double checked, the folder permission has fully given to the current user, including Administrator.

You may see the related discussion (and other discussions) on stackoverflow.com, it is a git security issue, if you have git installed, you may add the “safe.directory” setting by:git config --global --add safe.directory *or you may add:

[safe]
  directory = *

to the global config file C:\Users\<user>\.gitconfig, or to the local config file C:\Users\<user>\Documents\PHPMaker\Backup\.git\config.

Thanks.Adding this following command in Command Prompt has resolved the issue.git config --global --add safe.directory *

Hello, in version 2024.14 I have an error when trying to save the projectrepository path 'C:/Users/xxx/Documents/PHPMaker/Backup/? is not owned by current userany idea how to solve

See above.

I also encounter same issue in phpmaker 2025 and tried all solutions above but no results. any other solution? I realised that in the phpmaker 2025 folder path
there is only folder “WebView2” in C:\Users\gurdji\OneDrive\Documents\PHPMaker2025\WebView2

Old phpmaker 2023 has in the project folder also Backup, Projects, Report

If you use OneDrive, you also need to grant read/write permissions to the Windows user. You may google “onedrive permissions” for more info.