<div dir="ltr">On Tue, Aug 26, 2008 at 11:55 AM, Vincent Danen <span dir="ltr"><<a href="mailto:vdanen@linsec.ca">vdanen@linsec.ca</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">* [2008-08-26 07:32:42 -0400] <a href="mailto:l4c@thelinuxlink.net">l4c@thelinuxlink.net</a> wrote:<br>
<br>
>> I recently installed Subversion on a laptop running Kubuntu 8.04.  I am just<br>
>> playing with this, and using my python adventure to help me get used to it.<br>
>> I used Adept to install and, while I can pretty much do what I need to do, I<br>
>> seem to have problems committing files once I've checked them out.  I'm<br>
>> guessing that my regular user has only read access to the repository.  I can<br>
>> check out the repo, but cannot commit without doing:<br>
>><br>
>> sudo svn commit file:///...<br>
>><br>
>> Trying this fails.  It also affects my efforts to update from within emacs.<br>
>> svn commit file:///...<br>
>><br>
>> I created a repo in ~/dev/repos/pyplay, and use ~/bin/pyplay for my working<br>
>> copy.  I have edited the svnserve.conf in the /conf directory, and am just<br>
>> using the sample passwd file with my userid/password.<br>
<br>
</div>Using file:/// does not involve svnserve at all.  That's local file<br>
access.<br>
<br>
If this is a simple one-person repository, chown -R it, like Lincoln<br>
said.  I'll bet you used root to create the repository to begin with<br>
(don't do that).<br>
<br>
</blockquote><div> </div></div>Thanks Linc & Vincent!  The chown -R trick was just what I needed.  In my case, I simply changed it to my normal user, since that's how I access the repository (it is in my home directory).  And I can check a file in directly from emacs - took me a second to figure out what to do, but only because I missed the initial message telling me how to enter my commit message.<br>
<br>I have to confess, I think it's pretty cool to be able to edit the file and commit it right from within the text editor.  Yeah, I know.  I am s-u-c-h a newbie!<br><br>Vincent, you are correct - I am using file:///, as opposed to svn:///, but was under the impression, based on the book, that you have to use the file:/// format when using svnserve.  Perhaps I misread or otherwise missed the boat on that point.  I also am not certain as to how *Ubuntu distros install SVN by default.  I saw no documentation to say what the default installation entails.<br>
<br>You are also correct that I created the repo as root.  I had problems running svnadmin as my regular user - not sure why.  I seem to have the ability to do so now.  The only thing I can think of is that I may have accidentally created the /repos directory while I was sudo'ed as root - then tried to run svnadmin as a regular user to create the actual repository.  I can't swear to that, but if so, I probably ran svnadmin as root and discovered it worked - kind of.  :-)<br clear="all">
<br>Anyway, thanks for the help!<br><br>Blessings,<br>Don<br>-- <br>D.C. Parris<br>Minister, Journalist, Free Software Advocate<br><a href="https://www.xing.com/profile/Don_Parris">https://www.xing.com/profile/Don_Parris</a><br>
<a href="http://www.linkedin.com/in/dcparris">http://www.linkedin.com/in/dcparris</a><br><a href="mailto:sip%3Adcparris@ekiga.net">sip:dcparris@ekiga.net</a><br>
</div>