开发者

I am failing to commit to mercurial repo

开发者 https://www.devze.com 2023-02-22 05:53 出处:网络
I tried c开发者_JAVA百科ommitting to a local hg repo and it refuses: trouble committing plot.py! note: commit message saved in .hg/last-message.txt

I tried c开发者_JAVA百科ommitting to a local hg repo and it refuses:

trouble committing plot.py!
note: commit message saved in .hg/last-message.txt
abort: Permission denied: /home/md/md_perf/.hg/store/data/plot.py.i


Your file permissions are messed up inside the local repository -- probably someone else pushed or committed to that repository without making sure they were leaving the permissions in a state usable by your whole group. Try these, with the appropriate substitutions, and sudo if necessary:

chgrp -R yourgroup /home/md/md_perf
chmod -R g+rwX /home/md/md_perf
find /home/md/md_perf -type d -print0 | xargs -0 chmod g+s
0

精彩评论

暂无评论...
验证码 换一张
取 消