Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Jailshell and symbolic link problem.

Discussion in 'General Discussion' started by carock, Jul 31, 2006.

  1. carock

    carock Well-Known Member

    Joined:
    Sep 25, 2002
    Messages:
    259
    Likes Received:
    7
    Trophy Points:
    168
    Location:
    St. Charles, MO
    I have a user that blew out his disk space in his home directory for the drive partition.

    I installed another disk drive and mounted it off /

    I went into his directory and created a symbolic link to the new drive under his web site.

    It's all working fine except the programmer is trying to cd into the directory, and they can't see it from shell and cPanel's file manager can't see it either. The web site is able to read and also put files into the directory within the user account.

    I thought I had it by creating a symbolic link within the virtfs directory for the user, but when you try to go to it, it says "Too many levels of symbolic links" and I have not found a way around this.

    Does anyone else have any ideas other than remounting the drive within the users directory? I don't know if that will even work.

    I really don't want to enable normal shell for this user, just jailshell.

    Thanks,
    Chuck
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice