You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Context:
Our server is setup so developers are apart of www-data group, and www-data group has read/write privileges. This allows WordPress, and any of my developers, to have read-write on any WordPress site without giving that developer sudo privileges or the domain user the Unix / SSH / SFTP username and password to a domain.
We then made it sticky using UMask so that if someone, including WordPress, creates new files it inherits those permissions so it remains read/writeable for all the write people.
But when Revisr is installed it found a way to ignore the UMask and give itself different perms. Thus breaking the flow above. Upon investigation we concluded it's something that is specific, or lacking, in how Revisr works so I'm hoping sharing our workaround below is enough to get this patched and a patch released.
Thank you!
Problem: git commit -m "Pushing the latest." fatal: Unable to create 'public_html/.git/index.lock': Permission denied
Our Temporary Solution:
Set sharedrepository = 1 in /etc/gitconfig (system-wide)
Created test website /home/mysite/domains/testgit.mysite.com/
Context:
Our server is setup so developers are apart of www-data group, and www-data group has read/write privileges. This allows WordPress, and any of my developers, to have read-write on any WordPress site without giving that developer sudo privileges or the domain user the Unix / SSH / SFTP username and password to a domain.
We then made it sticky using UMask so that if someone, including WordPress, creates new files it inherits those permissions so it remains read/writeable for all the write people.
But when Revisr is installed it found a way to ignore the UMask and give itself different perms. Thus breaking the flow above. Upon investigation we concluded it's something that is specific, or lacking, in how Revisr works so I'm hoping sharing our workaround below is enough to get this patched and a patch released.
Thank you!
Problem:
git commit -m "Pushing the latest." fatal: Unable to create 'public_html/.git/index.lock': Permission denied
Our Temporary Solution:
So, I'm considering its a bug (or feature) of Revisr?
But you should be able to commit changes through Revisr, because it works on behalf www-data user, which is the owner of all the files.
The text was updated successfully, but these errors were encountered: