LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-16-2008, 02:06 PM   #1
gharvey
LQ Newbie
 
Registered: Dec 2004
Location: London, UK
Distribution: Ubuntu, Debian, CentOS
Posts: 26

Rep: Reputation: 15
Subversion problem with root login


Hi all,

I have installed SVN, created a repository, checked in my code, checked it out again and checked it out to my web application directory. All good. I did all this as root.

Then I used chown to change the ownership of the entire application to a user and group I setup for the task. I also did a recursive chmod to the same directories to make that group have permission to read and write.

So far, so good.

Then I created a user in that group and tried to 'svn up':

Code:
[svnuser@drupaler repo]$ svn up
root@drupaler.co.uk's password:
It insists I login as root. So I tried this:

Code:
[svnuser@drupaler repo]$ svn up --username svnuser
root@drupaler.co.uk's password:
Still insisting on root. No key-stroke I do seems to release it and permit me to enter a different username. Of course, if I enter the root password all is fine - but equally obviously I don't want to have my users do that!

I'm sure this is something really dumb and simple, but it's driving me nuts! Any pointers?

G

Ps - it's CentOS if that helps...
 
Old 02-16-2008, 02:44 PM   #2
gharvey
LQ Newbie
 
Registered: Dec 2004
Location: London, UK
Distribution: Ubuntu, Debian, CentOS
Posts: 26

Original Poster
Rep: Reputation: 15
Sussed it - I hard-coded the username in the url - changed it like this:

Code:
[root@drupaler repo]# svn switch --relocate 
svn+ssh://root@drupaler.co.uk/usr/local/svn/myrepo 
svn+ssh://drupaler.co.uk/usr/local/svn/myrepo
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem regarding Root login gaurishpatil Linux - Newbie 3 02-15-2008 02:02 AM
Problem with root login ! eeeboy Ubuntu 10 05-18-2007 03:39 PM
Problem with root login ibshar Linux - Newbie 2 09-26-2006 05:55 AM
Problem Login As Root, Help!!!!! abulafiar Linux - Newbie 4 08-15-2004 02:54 PM
How to install Subversion(Version Control with Subversion) under RedHat Linux. netkiller Linux - Networking 1 07-01-2004 05:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration