mxgross / EasyBackupBundle

Kimai 2 Plugin for easier backups
MIT License
25 stars 6 forks source link

Detected "dubious ownership" message #64

Closed Rudiberto closed 7 months ago

Rudiberto commented 7 months ago

EasyBackup seems to work, but showing this message:

git     fatal: detected dubious ownership in repository at '/var/www/kimai/var/plugins/EasyBackupBundle' To add an exception for this directory, call: git config --global --add safe.directory /var/www/kimai/var/plugins/EasyBackupBundle 

grafik

I've tried the recommendation written there, but it doesn't solve the issue. So what ownership is working for the directory? What is the reason for the error message, since I followed the instructions step by step?

I'm posting here based on Kevin's recommendation. I'm on the last release, 2.14.0 as you see in the screenshot.

mxgross commented 7 months ago

Duplicate issue. but anyway: Please try to find a suitable solution for your system. A starting point could be be here.

This git message does not affect functionality in any way and can therefore be ignored. Git seems to throw it if a repository is contained inside a repository.

Rudiberto commented 7 months ago

git config --system --add safe.directory /var/www/kimai/var/plugins/EasyBackupBundle This solved the problem for me. Used --system instead of --global. Sorry for the duplicated issue.

mxgross commented 7 months ago

Thanks for posting your solution, I think I will add this to my Readme.md.