Doug Stewart on 7 Mar 2014 10:13:05 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Back to wordpress


Michael:
That's true if your webserver user owns the files in question. Given Eric's finding of "root:www-data" as ownership, 644/755 won't work. If he were to go to www-data:www-data (apache:apache in RHEL Land), then 644/755 are indeed reasonable.


On Fri, Mar 7, 2014 at 1:08 PM, Michael Lazin <microlaser@gmail.com> wrote:
From a security standpoint it makes more sense to give files 644 permissions and folders 755 permissions, also see http://codex.wordpress.org/Hardening_WordPress for more hints on file permissions in Wordpress, as well as good security tips.


On Fri, Mar 7, 2014 at 12:32 PM, Doug Stewart <zamoose@gmail.com> wrote:
Two things:
If you're prompted for FTP credentials, it can sometimes relate to permissions. Check that the web server user has write access to the directories in question. Failing that, try adding the following line to your wp-config.php:

define('FS_METHOD','direct'); /** Install plugins without FTP */

Let me know if that helps!


On Fri, Mar 7, 2014 at 12:28 PM, Eric H. Johnson <ejohnson@camalytics.com> wrote:
Doug,

Another quick question. I tried to update plug-ins and it asked for ftp
credentials. I have ftp running, however all users are jailed to their home
folders. Do I have to open up my whole VPS to FTP, or symlink the wordpress
install to a user folder? Is there a recommended setup for ftp when using
wordpress?

Thanks,
Eric

I think that got it. The find was not able to find /wp-content/ so I just
went to the wordpress/wp-content folder and ran:
Chmod -R 775 *

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug



--
-Doug



___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug




--
Michael Lazin

to gar auto estin noein te kai ennai

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug




--
-Doug


___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug