move webroot to jailkit user shell; jailkit user access to website webroot

Discussion in 'Installation/Configuration' started by iateadonut, Sep 6, 2013.

  1. iateadonut

    iateadonut New Member

    I'm wondering how I give access to a jailkit user to it's parent user (ispconfig client) 's website webroot.


    I have a ispconfig client:
    pam

    'pam' has a jailkit ssh user:
    pampam

    pampam's home directory:
    /home/pampam
    /var/www/clients/client3/web3/home/pampam/

    'pam' has a website:
    pam.com

    pam.com's webroot is:
    /var/www/clients/client3/web3/web


    I'm wondering how do I give 'pampam' access to the pam.com webroot.


    Maybe a better question is,
    how do I move the webroot to within the jailkit user's jail?


    I can't even move the webroot in order to make a symlink in its place:
    [email protected]:/var/www/clients/client3/web3# mv web web_old
    mv: cannot move `web' to `web_old': Permission denied
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Thats the case already. The jailed user has access to the web directory. If you login with this jailed user, just do a:

    cd ../../web to go to the web directory.
     
  3. iletelier

    iletelier New Member

    First of all, amazing software ! thx a lot!

    Well, i have a similar problem. But when a ssh user login and i do a cd ../../web and then ls i get Permission Denied:
    (ISPconfig 3.1dev)
    Code:
    [email protected]:~$ pwd
    /home/userforssh
    [email protected]:~$ cd ../../web
    [email protected]:/web$ ls
    ls: cannot open directory .: Permission denied
    [email protected]:/web$
    
    In Advance, thank you for your time and help.
     

Share This Page