Differences
This shows you the differences between two versions of the page.
wordpress-upload-permissions [2013-12-26 16:23:16] – created shaun.reitan | wordpress-upload-permissions [2013-12-26 16:24:04] (current) – shaun.reitan | ||
---|---|---|---|
Line 11: | Line 11: | ||
The first line does a stat on the upload directory which includes the mode. The next line takes the mode (perms) of the upload directory and modifies it. Last chmod is run on the uploaded file with the newly created permissions. | The first line does a stat on the upload directory which includes the mode. The next line takes the mode (perms) of the upload directory and modifies it. Last chmod is run on the uploaded file with the newly created permissions. | ||
+ | |||
+ | ===== Running wordpress with suPHP ===== | ||
If your running suPHP and try to lock down your uploads directory using 0711 permissions files that are uploaded are going to end up with 0600 perms. | If your running suPHP and try to lock down your uploads directory using 0711 permissions files that are uploaded are going to end up with 0600 perms. | ||