-
-
Notifications
You must be signed in to change notification settings - Fork 108
-
I'm trying to use this lib, but I got some issues and I guess it depends on the difference of ubuntu and window, so is it possible to use this lib in ubuntu ?
Beta Was this translation helpful? Give feedback.
All reactions
Hi, yes, it is possible to use this library in Ubuntu. I use Ubuntu too.
What issues you have?
Replies: 1 comment 4 replies
-
Hi, yes, it is possible to use this library in Ubuntu. I use Ubuntu too.
What issues you have?
Beta Was this translation helpful? Give feedback.
All reactions
-
I try to call the function in GitRepository, but I got this issue: detected dubious ownership in repository at '/path/myfolder/' To add an exception for this directory, call: git config --global --add safe.directory /path/myfolder
And I try to add one more function in GitRepository to execute above git command, but I still got this error 'could not lock config file /var/www/.gitconfig: Permission denied'. Do you have any ideas for this? (Thanks for replying my question)
Beta Was this translation helpful? Give feedback.
All reactions
-
Maybe that repository has another owner than your PHP script?
I found some links for this error message:
Beta Was this translation helpful? Give feedback.
All reactions
-
Yes, I have tried it, but as I mention above, I got this error could not lock config file /var/www/.gitconfig: Permission denied. Do we have any way to set permission for that file in php script ?
Beta Was this translation helpful? Give feedback.
All reactions
-
For this, I just allow user that is running my php script can access to that file in terminal, It's resolved. Thanks for your help @janpecha
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1