SVNForum.org Forum Index FAQFAQ SearchSearch MemberlistMemberlist RegisterRegister Log inLog in

Download Subversion 1.6.12: Free Subversion TrainingWindows - Free Subversion TrainingCentOS 5 - Free Subversion TrainingRedhat Enterprise Linux 5 - Free Subversion TrainingUbuntu 9/10.04 - Free Subversion TrainingDebian Lenny (5)

Free Subversion Training: Free Subversion TrainingAll About Subversion Hook Scripts Free Subversion TrainingSubversion Locking Free Subversion TrainingAll About Checkouts
 
Subversion + Samba

 
Post new topic   Reply to topic    SVNForum.org Forum Index -> Linux, Unix and *nix
View previous topic :: View next topic  
Author Message
eiluj



Joined: 05 Jun 2007
Posts: 2
Location: Erie, Pa

PostPosted: Tue Jun 05, 2007 4:38 pm    Post subject: Subversion + Samba Reply with quote

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
View user's profile Send private message
eiluj



Joined: 05 Jun 2007
Posts: 2
Location: Erie, Pa

PostPosted: Wed Jun 06, 2007 3:16 pm    Post subject: Answer Reply with quote

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
View user's profile Send private message
freakalis



Joined: 12 Aug 2008
Posts: 1

PostPosted: Tue Aug 12, 2008 11:33 am    Post subject: Reply with quote

You just saved my day!

Been trying to fix this problem the whole workday!
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Post new topic   Reply to topic    SVNForum.org Forum Index -> Linux, Unix and *nix All times are GMT - 4 Hours
Page 1 of 1
Display posts from previous:   
Google
 
Web SVNForum.org