Menu

invalid user: `csvn:csvn'

Help
Rob Brandt
2011-12-11
2013-05-02
  • Rob Brandt

    Rob Brandt - 2011-12-11

    I have a relatively recent installation of Webmin on Ubuntu, with SVN Admin installed.  This is the first repository I need to create, existing ones were imported with SVN and I found a way to make them show up properly in SVN Admin.  Don't remember how, it was a few months ago.

    I am creating a new repository and am getting the following message:

    Key: 'allrepo' -> ''
    Key: 'bemrepo' -> ''
    Key: 'mode' -> '2'
    Key: 'new' -> '1'
    Key: 'repo' -> 'supportsite'
    Key: 'ret' -> '7'
    Key: 'save' -> ' Save '
    Key: 'ticket' -> ''
    HTTP_REFERER -> https://aws.botany.org:10000/svn/edit_repos.cgi?ret=7&mode=2&new=1&allrepo=
    REQUEST_URI -> /svn/save_repos.cgi?mode=2&ret=7&allrepo=

    Create Repository 'supportsite'.
    COMMAND: /usr/bin/svnadmin create /var/subversion/projects/supportsite 2>&1

    Change Owner for '/var/subversion/projects/supportsite'.
    COMMAND: chown -RL csvn:csvn /var/subversion/projects/supportsite 2>&1

    ERROR !!
    COMMAND: chown -RL csvn:csvn /var/subversion/projects/supportsite 2>&1
    Return: chown: invalid user: `csvn:csvn'

    Are the 'SVN Admin' configvalues settings correct ?

    It appears the repository is created, however ownership user 0 group 0.  the others are 33/33.  I have looked throughout my config files and can't find anywhere I've designed user csvn:csvn anywhere, nor does it sound familiar.

    What am I doing wrong?

     
  • Andreas Bujok

    Andreas Bujok - 2011-12-12

    Hi Robbrandt.

    It's allready OK. On our Company, we use an SVN Distribution from CollabNet. CollabNet use a default Group n' User of "csvn".

    Check your Default SVN-User and Default SVN-Group.
    If you cannot change the names then change the names in the script "save_repos.cgi" on line 263.

    Please let me informed.

    BR Andreas

     
  • Rob Brandt

    Rob Brandt - 2011-12-13

    Thanks for the reply, but I don't know where Default SVN-User or Default SVN-Group is.  I looked in your module config and in /etc/subversion on my server.

     
  • Andreas Bujok

    Andreas Bujok - 2011-12-13

    Go to "root directory" of your repositories and type the "ls -l" command  on your shell.
    Then you find the user and group in the listing.

    Otherwise when you make first steps of SVN, create a user called "csvn" and a group "csvn". Then put the user csvn in this group.

    BR Andreas

     
  • Rob Brandt

    Rob Brandt - 2011-12-14

    That seems to work, thanks.  I am using the standard ubuntu package for svn, which uses www-data as the user/group.  Seems like this should be a configuration item.

     

Log in to post a comment.

MongoDB Logo MongoDB