I use Vagrant and virtualbox for developing inside ubuntu on OSX. I have a couple of mercurial (hg) checkouts and they were giving me grief:
$ hg up
Not trusting file /some-repo/.hg/hgrc from untrusted user 501, group dialout
The .hg/hgrc
file contains the remote repo URL, so pulling even won’t
work. The problem is apparently the interaction between virtualbox and OSX if
you use NFS to mount part of your OSX’s harddisk.
The solution/workaround is quite simple. Tell mercurial to trust that 501
user in your ~/.hgrc
:
....
[trusted]
users = 501
Now it works!
My name is Reinout van Rees and I work a lot with Python (programming language) and Django (website framework). I live in The Netherlands and I'm happily married to Annie van Rees-Kooiman.
Most of my website content is in my weblog. You can keep up to date by subscribing to the automatic feeds (for instance with Google reader):