Support » Fixing WordPress » upload/chmod777

  • Is there any other way to use the upload feature, like another chmod other than 777? (Sorry I don’t yet know much about chmod).
    Apparently, I had someone somehow upload something to the folder I was allowing WordPress to upload to for my photo blog, some kind of php file in French or something. It wouldn’t even let me delete it in my own control panel, my host (Netrillium) had to do it for me.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Mark (podz)


    Support Maven

    755 or 766 will do.
    Your problem was caused because when a php file creates another file, that file is then owned by the file that created it, and the server.
    That means only those two things can remove it. You can’t.
    It’s an oddity.
    I have the same issue with some files. It matters little since webspace runs into MB and the file uploaded is maybe a couple of hundred KB.
    Annoying – yes.

    Okay here’s the thing then –
    I tried 755 but it tells me, sorry you don’t have the correct permissions set. So then I try 766 and I can’t upload, nor do the images that are already in the folder show up, they are red x’s. It acts like it will upload but then it gives me an error and says that it can’t upload. So I guess it has to be 777 or nothing. Bleh.
    Thank you 😀

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘upload/chmod777’ is closed to new replies.