Get the most out of your Centmin Mod LEMP stack
Become a Member

Wordpress fix permission script

Discussion in 'Blogs & CMS usage' started by ahmed, Apr 11, 2017.

  1. ahmed

    ahmed Member

    232
    17
    18
    Feb 21, 2017
    Ratings:
    +24
    Local Time:
    5:10 AM
    Hello

    I have this script

    Fix wordpress file permissions · GitHub

    and wish to put it on cron for daily? fix permission

    is it safe to do that? or is it incompatiable with any centminmod settings?
     
  2. eva2000

    eva2000 Administrator Staff Member

    32,215
    7,153
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,876
    Local Time:
    1:10 PM
    Nginx 1.13.x
    MariaDB 5.5
    shouldn't be needed as Centmin Mod defaults for file permissions are fine especially if you are installing and managing wp plugins from wp admin area as it runs as php-fpm user/group = nginx
     
  3. ArisC

    ArisC Member

    61
    16
    8
    Jun 1, 2017
    Ratings:
    +24
    Local Time:
    5:10 AM
    Nginx 1.13.6
    MariaDB 10.1.28
    @eva2000 Can I reset the file permissions for wordpress?