Forums

Plugins folder keeps resetting to 777 (5 posts)

  1. ajlitton
    Member
    Posted 3 years ago #

    Hi there. My host recently migrated me over to a new server. This new server doesn't allow any folders to have its permissions set to 777, or at least it throws up an error whenever it tries to access one.

    The plugins folder is set to 777, so none of the plugins will operate - I get an error. I've CHMODded the folder to 755 tie and time again, but it keeps reverting to 777.

    It's not a question of time. The permissions on the folder revert to 777 whnever the front page of teh blog is accessed. There must be some script in WordPress that is resetting it, right?

    Where is it? I need to stop it! I've spoken to my host and they won't change the server to allow me to use 777 folders. They also don't know why the folder keeps reverting - they suggested it was something in WordPress which seems to be borne out by the fact that it happens whenever the blog is accessed.

    I was using 2.5.1 and I upgraded to 2.7, but the same thing keeps happening.

    Has anybody else experinced this?

    Thanks,

    Anthony

  2. Saurus
    Member
    Posted 3 years ago #

    "Pretty Permalinks"?

  3. ajlitton
    Member
    Posted 3 years ago #

    Thanks, but that doesn't seem to be it. My permalinks are ugly! Could this be a .htaccess thing? What should I look for?

  4. ajlitton
    Member
    Posted 3 years ago #

    Another wrinkle - if I do try to use pretty permalinks, it breaks the plugin in another way. If I try to run it manually (it has its own Settings page) it redirects me to the WordPress 404 page. The plugin tries to access a file in the plugins directory, and WordPress tries to parse this as if it was a permalink. Surely it shouldn't work this way?

    Does anybody think these issues could be related? The plugin I'm using (trying to use) is Postie - http://www.economysizegeek.com/wp-mail/ - although I don't believe that the problems are due to the plugin.

    Any responses appreciated. And my apologies for all the typos in my first post - I blush!

  5. xess
    Member
    Posted 3 years ago #

    It took me a long time to figure this out.

    A workaround to this problem is to edit your php.ini file

    disable_functions = chmod

    Search and add that directive in.

    This will prevent wordpress from chmodding your files and directories.

Topic Closed

This topic has been closed to new replies.

About this Topic