Syndication

Sponsors


Administration


Posted on May 11, 2009 at 2:09 pm - by Corey DeGrandchamp

Recent Downtime

I may or may not have made a huge mistake trying to delete a symlink via FTP.

brokenjawa

Oops. Let this be a lesson to you, you cannot work with symlinks via FTP.

Hostgator is awesome enough though to keep a weekly backup of everything, and I was quickly back up and running within an hour and a half. I’ve also notice they offer SSH access… This is far superior to FTP anyhow, so you should all avoid my mistakes, and use SSH rather than FTP. Please.

On another note, Hostgator was even more awesome to waive the $15 fee associated with restoring a backup!

On another’nother note, I’ve added proper pagination to all pages on the blog now. I’ve added it to the footer of each page, and as well to the header next to the logo, just blow the advertisement. I decided to put it there, as I know many users have AdBlock enabled, and see a large white space up at the top. I wanted to remedy this with something, and the small, short pagination bar is perfect for that.

3 Responses to “Recent Downtime”

  1. Chris on May 11th, 2009 at 11:15 PM says:


    I wrote an article on how to get around this limitation, provided you have shell access: http://shiningpolaris.com/2009/03/27/how-to-give-a-chrootd-ftpd-access-to-outside-folders/

    However, FileZilla supports SCP so the point is somewhat moot. Still, the option exists :)

    [Reply]

  2. Corey on May 12th, 2009 at 7:11 AM says:


    Oh, very nice. I gave it a look over, and I can probably really use it at work.

    The big problem I ran into with this site, is I have:

    Dir1 – filled w/ this site
    Dir2 – empty

    So I didn’t have SSH access at first, so I asked the HostGator techs to make the symlink. I wanted them to remove Dir2 since it was empty, and make it a symlink to Dir1 – this was just for organizational purposes.

    Well, they didn’t do that, they made a symlink TO Dir2 within Dir1 and so on… so it looked like:

    Dir1
    |-Dir2
    |-Dir1
    |Dir2
    |-Dir1

    and it kept going. In trying to correct the problem I know if you just RM a symlink from the command line, there’s nothing wrong with that, it just breaks the link. Well trying to remove it via FTP actually tries to delete what’s inside that directory, and in return deleting Dir2, which had Dir1 inside of it, deleted nearly my entire site before I canceled it.

    [Reply]

    Corey Reply:

    @Corey,

    My directory structure didn’t play out too well… anyhow it was like:

    Dir1/Dir2/Dir1/Dir2/Dir1/Dir2/Dir1… etc…

    [Reply]

Leave a Reply

Please log in with your Facebook account -OR- fill in the forms below.

About This Blog

Tech Jawa is a blog founded by Corey DeGrandchamp, and loosely based on technology, tutorials, and video games. Please feel free to browse the site using the "Category" list on the left sidebar, and be sure to check out our live stream!

Connect

Sponsors