The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

svn access under cagefs

Discussion in 'CloudLinux' started by nobi_rocky, Aug 29, 2014.

  1. nobi_rocky

    nobi_rocky Registered

    Joined:
    Aug 29, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I have a user who cannot have access to svn while under cagefs. The user uses php 5.3.
    On disabling the cagefs for us, he is able to access it.
    The main php version is 5.4. I cannot have cagefs disabled for the user as his scripts need php 5.3.

    Please help me to enable svn for the user under cagefs.


    Here is what I get.
    -------------------

    On enabling the user under cagefs:

    Code:
    user@server [~]# svn --version
    -bash: svn: command not found

    On disabling cagefs for the user:

    Code:
    user@server [~]# svn --version
    svn, version 1.6.11 (r934486)
    compiled Mar 6 2014, 03:28:26
    
    Copyright (C) 2000-2009 CollabNet.
    Subversion is open source software, see subversion.tigris.org
    This product includes software developed by CollabNet (Agile software development and deployment at scale, TeamForge, Subversion, GIT, Agile Training | CollabNet).
    
    The following repository access (RA) modules are available:
    
    * ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
    - handles 'http' scheme
    - handles 'https' scheme
    * ra_svn : Module for accessing a repository using the svn network protocol.
    - with Cyrus SASL authentication
    - handles 'svn' scheme
    * ra_local : Module for accessing a repository on local disk.
    - handles 'file' scheme
     
    #1 nobi_rocky, Aug 29, 2014
    Last edited by a moderator: Sep 3, 2014
  2. vipin

    vipin Active Member

    Joined:
    Aug 23, 2013
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    hi,

    Try to add that particular RPMs into CageFS by :

    Code:
    # cagefsctl --addrpm svn
    # cagefsctl --update
     
    #2 vipin, Sep 3, 2014
    Last edited by a moderator: Sep 3, 2014
  3. nobi_rocky

    nobi_rocky Registered

    Joined:
    Aug 29, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hey Vipin,

    Seems to work okay. Thanks.
     
Loading...

Share This Page