I've got subversion installed on my Ubuntu server. I usually do my development work under an account separate from root. However, in order to check in code, I need to be root or use the 'su' command 'su svn commit ....' How do I make it so I can check in code via my regular user account?
|
|
If the repository is on the same server, then just changing the permissions of the repository folder/files to allow your user to write there should be more than enough. Better yet, you can create group(s), to which you give write permission(s) on the repo, and add your user to one of them. |
|||
|
|
|
Make sure your non-root user has read&write access to the directory (and everything below it) where the svn repo is located. Then, as the non-root user, simply check out a new working copy. You should be able to commit with simply If you want to keep using the existing working copy for some reason, one thing you could try is giving the non-root user rw access to everything under all (Assuming here that the repository is on the same machine.) |
|||
|
|