When executing any command within the terminal i always get the following error:
File "/usr/local/bin/wo", line 8, in <module>
File "/usr/local/lib/python3.8/dist-packages/wo/cli/main.py", line 93, in main
File "/usr/local/lib/python3.8/dist-packages/cement/core/foundation.py", line 1501, in __enter__
File "/usr/local/lib/python3.8/dist-packages/cement/core/foundation.py", line 835, in setup
__import__(self._meta.bootstrap, globals(), locals(), , 0)
File "/usr/local/lib/python3.8/dist-packages/wo/cli/bootstrap.py", line 7, in <module>
from wo.cli.controllers.base import WOBaseController
File "/usr/local/lib/python3.8/dist-packages/wo/cli/controllers/base.py", line 5, in <module>
from wo.core.variables import WOVar
File "/usr/local/lib/python3.8/dist-packages/wo/core/variables.py", line 13, in <module>
File "/usr/local/lib/python3.8/dist-packages/wo/core/variables.py", line 93, in WOVar
copy2(os.path.expanduser("~") + '/.gitconfig', '/root/.gitconfig')
File "/usr/lib/python3.8/shutil.py", line 432, in copy2
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/usr/lib/python3.8/shutil.py", line 261, in copyfile
with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
PermissionError: [Errno 13] Permission denied: '/root/.gitconfig'
I can only use SUDO then to execute it finally.
Is there any way to solve this issue?
I log in as UBUNTU user according to my VPS provide instruction, perhaps this is the issue?