Tuesday, June 2, 2009

A Note Would've Been Nice

After several days of struggling to set up WordPress on my own hosted domain, and to configure it just so, "pretty permalinks" and all, I'd finally got everything working. But at a price.

Opening up your entire installation with permissions set to 777 probably isn't real smart. But it worked! And I wrote to hostingsupport to gloat about my unique combination of cleverness and stupidity - which was my second mistake. Or so I hope.

I think they locked me out of my own WordPress installation. At least, I hope they did. Because .htaccess has now been replaced with a small HTML error page, and I appear to be locked out of that whole subdirectory by a higher authority.

Which is what I'd do if I were troubleshooting a manic customer's account - especially after they'd informed me of every step in their painfully haphazard, buckshot approach to the scientific method ("After exhausting myself trying to change permissions on each file, one at a time, I said, 'Screw it,' and set ALL of them to 777 - and guess what? - it worked! Yippee!") But a note would've been nice.

Because now I don't know if I just hurt myself with some stupid user error, of if they really locked me out - and if they locked me out, was it for the very sensible purpose of preventing me from altering anything while they helped me to resolve all my issues, or was it just to shut me down and shut me up, once and for all?

I'm tempted to start all over again in a brand new directory. So there. See how important it is to COMMUNICATE? Grrrrr.

No, patience is not one of my virtues. Why do you ask?

5 comments:

  1. Lucrecio EmeritoJune 2, 2009 at 11:54 AM

    Wow, a chmod 777 is like saying Anyone can do Anything to All files.

    It's possible that, as you said, they were just trying to prevent further changes while they're fixing the file permissions. A user error seems unlikely if you chmoded 777; there could have been an error had you set it to 000 instead. Locking you out for good looks unreasonable. So, it's either the first or you have an intruder. And yes, a note would have been nice.

    Recent blog post: A Walk In The Dark—A Poem

    ReplyDelete
  2. Turns out, the host did nothing. I'd just messed up the permissions badly by doing it recursively; directories and files need different permissions. And my .htaccess was in the wrong folder, but I wouldn't have figured that out if I hadn't chmod 777'd it and let WP create one. It's all good now, though.

    Recent blog post: A Note Would've Been Nice

    ReplyDelete
  3. I have no idea what you're talking about. It's too complicated for me.

    Beverly

    ReplyDelete
  4. Hahaha..and I know just enough to be slightly dangerous.

    ReplyDelete
  5. most scripts requiring 777 can use 755.
    some hosting companies don't even allow 777.
    directories and files dont require different permissions, its just best that you have directories at 755 and files at 644 :)

    ReplyDelete

Please join in the discussion!