WordPress.org

Forums

upload/chmod777 (3 posts)

  1. anela
    Member
    Posted 10 years ago #

    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.
    eh???

  2. Mark (podz)
    Support Maven
    Posted 10 years ago #

    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.

  3. anela
    Member
    Posted 10 years ago #

    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 :D

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.