| View previous topic :: View next topic |
| Author |
Message |
eiluj
Joined: 05 Jun 2007 Posts: 2 Location: Erie, Pa
|
Posted: Tue Jun 05, 2007 4:38 pm Post subject: Subversion + Samba |
|
|
Hello. I am relatively new to subversion, and am setting up a system that uses Arch Linux, Apache 2+, and Samba. Basically what I am doing is this: Using Apache to control user access to various Subversion repository resources. This works fine.
Different developers need to test the changes they make to their working copies in a browser. I am attempting to setup their individual checkouts via samba share to the same server that hosts the (FSFS) repositories. The reason for this is so that they all have consistent access to MySql databases, Apache, PHP, etc.etc. All repositories are created fine, of course. However, when I attempt to do a checkout to their home directories (from their computer) Subversion generates the following error:
svn: Cannot rename file /mnt/path/to/users/home/.svn/tmp/entries.
I've tried changing directory permissions all the ways I can think to, however, this seems to be futile, even at 777. I can't think of why this wouldn't/shouldn't work from a theoretical perspective. The checkout directories are setup in each user's "home" directory on the machine hosting the subversion repositories. They have access to these through their /mnt drive via Samba. I need for each user to be able to do the basics "commit" "merge" etc. through a graphical client called SmartSvn. Any ideas? Thanks. |
|
| Back to top |
|
eiluj
Joined: 05 Jun 2007 Posts: 2 Location: Erie, Pa
|
Posted: Wed Jun 06, 2007 3:16 pm Post subject: Answer |
|
|
Solved my own problem. Looks like the answer is that Samba needs to have a special directive defined within each share. "delete readonly = yes"
This will resolve the permissions problem. |
|
| Back to top |
|
freakalis
Joined: 12 Aug 2008 Posts: 1
|
Posted: Tue Aug 12, 2008 11:33 am Post subject: |
|
|
You just saved my day!
Been trying to fix this problem the whole workday! |
|
| Back to top |
|
|
View previous topic :: View next topic |
|