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.

Easy skin editing, Uploads and Downloads Via FTP.

Discussion in 'User Experience' started by sitehostz, May 29, 2003.

  1. sitehostz

    sitehostz Well-Known Member

    Joined:
    Nov 30, 2002
    Messages:
    66
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Delaware
    I posted this and then realised that I do not remeber how I had the permissions set to allow me to do this anymore. So the stuff below can be used to download the themes or files but not upload them.

    ---------------

    During the time when I was playing with the themes, It was a pain to keep having to copy themes from one place to another to get then in the frontend folder. So I did something like a reverse symlink to get around this.

    If you have a site located on your cpanel server and your username is host99, then log into your server as root and go to

    /home/host99 (You'll See)
    |- public_html
    |- public_ftp
    |- temp

    And so on. While you are in your main /home/host99, issue the following command as root.

    ln -s /usr/local/cpanel/base/frontend frontend

    Now reload your ftp directory and you'll see,

    /home/host99 (You'll See)
    |- public_html
    |- public_ftp
    |- temp
    |- frontend <- you now see this

    Now, if you double click on the frontend symlink in your ftp client, you can now upload/download whatever parts of the theme that you are working on without having to copy the files all around or upload them into WHM as you'll now see...

    /home/host99/frontend
    |- bluelagoon
    |- y
    |- mail
    |- xskin

    ECT...

    Regards,
    Chris

    cPanel.net Support Ticket Number:
     
    #1 sitehostz, May 29, 2003
    Last edited: May 29, 2003
  2. Website Rob

    Website Rob Well-Known Member

    Joined:
    Mar 23, 2002
    Messages:
    1,506
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    Alberta, Canada
    cPanel Access Level:
    Root Administrator
    Good info there, Chris. I'm sure it will come in handy for those people that are looking to do something like that -- or hadn't thought of doing it that way.

    cPanel.net Support Ticket Number:
     
  3. kosmo

    kosmo Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    403
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    All over Europe


    To solve your permissions problem you also need to do this:

    chown -R host99.host99 usr/local/cpanel/base/frontend

    (of course only in case you are host99)

    kosmo

    cPanel.net Support Ticket Number:
     
  4. qwerty22

    qwerty22 Registered

    Joined:
    Jan 26, 2003
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    hmmm didnĀ“t get the permissions working for me.
    can someone help me?

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page