WordPress permissions

T.C. Hollingsworth tchollingsworth at gmail.com
Wed Jul 31 02:27:21 UTC 2013


On Tue, Jul 30, 2013 at 5:39 PM, Max Pyziur <pyz at brama.com> wrote:
> Greetings,
>
> A user on my box has Wordpress installed under a virtualhost.
>
> He has other users uploading photos to different directories using
> Wordpress' interface. The concern is that these directories are
> defaulting/need to be setup to 777 permissions for the uploads to be
> successful.
>
> Any advice on how to change this to more secure directory permissions?

Just `chown` the uploads directories to the user WordPress is running
as (most likely "httpd"), then you can `chmod 755` it.

(I'm assuming their doing this with the WordPress interface and not
S/FTP.  It would be a bit more complicated if that were the case, but
that seems unlikely.)

-T.C.


More information about the users mailing list