I have a remote Samba location mounted as /mnt/rua as discussed here. I have created a folder HgRepository there, which is my central Mercurial repo. I am working with a local clone and push the setting to this folder. My team-mates do the same on their machines.
Now, the problem is that Mercurial returns
abort: could not lock repository /mnt/rua/HgRepository/spectrometry: Permission denied
if I am trying to do hg push
. With hg pull
as well as with sudo hg push
everything works fine. This would be ok, but the problem is that the Nautilus Mercurial extension (TortoiseHg) works in the non-sudo mode, so the context menu command for pushing doesn't work.
How should I properly change the settings to make it work?
In case it helps, here is what I get for ls -l /mnt
drwxrwx--- 8 1016 users 0 2011-06-10 12:47 rua
If this is a single-user machine, there's no downside to using forceuid.
– Marius Gedminas Jul 19 '11 at 19:46