Change Folder & File Permissions

By default, WP-Filebase sets folder permissions to 777 and file permissions to 666. This gives best compatibility with all server setups, although it’s not a secure setting.

To change the permissions that are applied during Sync, add the following two lines to your wp-config.php:

define('WPFB_PERM_FILE', 666);
define('WPFB_PERM_DIR', 755);

Put them above

/* That's all, stop editing! Happy blogging. */

All files will the be chmoded to 666 and category folders to 755 during the next sync.

Note that the numbers will be converted to octal numbers, so no leading 0 must be added like 0777!

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

2 thoughts on “Change Folder & File Permissions

  1. Kr ashwiN says:
    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)

    Nothing will going to help you if you don’t pay attention to this informational post, i have a tip that http://syncsettingswindows10.com this is so important tutorial where user of windows 10 comes to know what are the most easiest steps to update every functions and softwares.

  2. sdfsdf says:
    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)

    sevxfdgfdg http://www.google.com

Leave a Reply

Your email address will not be published.