2011-04-06 53 views
1

我試着提交到本地汞回購和拒不:我未能提交含汞回購

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 

回答

4

你的文件權限搞砸本地倉庫內 - 可能是別人推或承諾說而不是確保他們將權限留在整個組可用的狀態。嘗試這些,適當的替代,並在必要時sudo:

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

我想我承諾與一個不同的用戶,所以該文件是由錯誤的人擁有。 – Tshepang 2011-04-06 14:59:12