Revisions
- November 16, 2016 @ 00:40:48 [Current Revision] by PeterLugg
- November 16, 2016 @ 00:40:48 by PeterLugg
- November 16, 2016 @ 00:40:21 by PeterLugg
Revision Differences
November 16, 2016 @ 00:40:21 | Current Revision | ||
---|---|---|---|
Content | |||
Unchanged: As seen on <a href="http:// www.codechannels.com/article/ fionabi/how-to-reset-the- recommended-file- and-directory- permission-of- bitnami-wordpress- website-on-linux/">Code Channels</a>. | Unchanged: As seen on <a href="http:// www.codechannels.com/article/ fionabi/how-to-reset-the- recommended-file- and-directory- permission-of- bitnami-wordpress- website-on-linux/">Code Channels</a>. | ||
Unchanged: You have a WordPress website provisioned from Bitnami. Sometimes you may not be able to write or edit files in the WordPress directory, create new directories or edit files in the wp-content folder. The article introduces how to reset the recommended access permission of the WordPress files and directories. | Unchanged: You have a WordPress website provisioned from Bitnami. Sometimes you may not be able to write or edit files in the WordPress directory, create new directories or edit files in the wp-content folder. The article introduces how to reset the recommended access permission of the WordPress files and directories. | ||
Unchanged: 1. Reset the ownership of the files and directories | Unchanged: 1. Reset the ownership of the files and directories | ||
Unchanged: The following command sets the ‘Owner’ = ‘bitnami’ and ‘Group’ = ‘daemon’ for all files and folders in WordPress. | Unchanged: The following command sets the ‘Owner’ = ‘bitnami’ and ‘Group’ = ‘daemon’ for all files and folders in WordPress. | ||
Unchanged: [js]sudo chown -R bitnami:daemon /opt/bitnami/ apps/wordpress/ htdocs/[/js] | Unchanged: [js]sudo chown -R bitnami:daemon /opt/bitnami/ apps/wordpress/ htdocs/[/js] | ||
Unchanged: 2. Set the access permission 644 for all the files inside /installdir/apps/ wordpress/htodcs/, and 755 for all the directories inside: | Unchanged: 2. Set the access permission 644 for all the files inside /installdir/apps/ wordpress/htodcs/, and 755 for all the directories inside: | ||
Unchanged: [js]installdir/ apps/wordpress/htdocs/ | Unchanged: [js]installdir/ apps/wordpress/htdocs/ | ||
Deleted: | Added: find /opt/bitnami/ apps/wordpress/htdocs/ -type d -print0 | xargs -0 chmod 755 | ||
Deleted: | Added: find /opt/bitnami/ apps/wordpress/htdocs/ -type f -print0 | xargs -0 chmod 644[/js] | ||
Unchanged: 3. Overwrite the access permission of these files/folders: | Unchanged: 3. Overwrite the access permission of these files/folders: | ||
Unchanged: 750 for /installdir/apps/ wordpress/htdocs/ wp-config.php | Unchanged: 750 for /installdir/apps/ wordpress/htdocs/ wp-config.php | ||
Unchanged: 775 for all the folders inside the wp-content directory /installdir/apps/ wordpress/htdocs/wp-content/ | Unchanged: 775 for all the folders inside the wp-content directory /installdir/apps/ wordpress/htdocs/wp-content/ | ||
Unchanged: 664 for all the files inside for the wp-content directory /installdir/apps/ wordpress/htdocs/wp-content/ | Unchanged: 664 for all the files inside for the wp-content directory /installdir/apps/ wordpress/htdocs/wp-content/ | ||
Unchanged: 664 for /installdir/apps/ wordpress/htdocs/sitemap.xml or /installdir/apps/ wordpress/htdocs/ sitemap.xml.gz | Unchanged: 664 for /installdir/apps/ wordpress/htdocs/sitemap.xml or /installdir/apps/ wordpress/htdocs/ sitemap.xml.gz | ||
Unchanged: 750 for /installdir/apps/ wordpress/htdocs | Unchanged: 750 for /installdir/apps/ wordpress/htdocs | ||
Unchanged: [js]sudo chmod 750 /opt/bitnami/ apps/wordpress/ htdocs/wp-config.php | Unchanged: [js]sudo chmod 750 /opt/bitnami/ apps/wordpress/ htdocs/wp-config.php | ||
Deleted: | Added: find /opt/bitnami/ apps/wordpress/ htdocs/wp-content/ -type d -print0 | xargs -0 chmod 775 | ||
Deleted: | Added: find /opt/bitnami/ apps/wordpress/ htdocs/wp-content/ -type f -print0 | xargs -0 chmod 664 | ||
Deleted: | Added: sudo chmod 664 /opt/bitnami/ apps/wordpress/ htdocs/sitemap.xml | ||
Deleted: | Added: sudo chmod 750 /opt/bitnami/ apps/wordpress/ htdocs/[/js] |
Note: Spaces may be added to comparison text to allow better line wrapping.
No comments yet.