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.

ftp accounts for subdirectories

Discussion in 'General Discussion' started by dennis00, Nov 9, 2002.

  1. dennis00

    dennis00 Member

    Joined:
    Nov 9, 2002
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Is it possible to make ftp accounts for subdirectories?
    so &public_html/images/gallery& would have an ftp account.
     
  2. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    its possible for public_html/gallery but not public_html/images/gallery. To do this, create an ftp user in cpanel named gallery ( or whatever the directory is ) and the user will only be able to log into that directory.
     
  3. dennis00

    dennis00 Member

    Joined:
    Nov 9, 2002
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    I know it's possible for /gallery, but are you sure it's not possible for images/gallery?
     
  4. itf

    itf Well-Known Member

    Joined:
    May 9, 2002
    Messages:
    624
    Likes Received:
    0
    Trophy Points:
    16
    [quote:c8f25e768d][i:c8f25e768d]Originally posted by dennis00[/i:c8f25e768d]

    I know it's possible for /gallery, but are you sure it's not possible for images/gallery?[/quote:c8f25e768d]

    it is possible this way:

    1) create an additional account like 'gallery'

    2) in a SSH session :
    rm -rf /home/user-name/public_html/gallery
    ln -s /home/user-name/public_html/images/gallery /home/user-name/public_html/gallery

    then gallery user can log in and update /public_html/images/gallery

    looks like you create additional FTP account for /home/user/public_html/images/gallery
     
Loading...

Share This Page