Directory permissions for WP script
-
Hi,
I installed the 3.4.2 version of WP and have a problem setting up the directory permissions.Everything I upload (files&folders) via FTP belongs to owner user1686 and group users. Permissions are 755 for dirs and 644 for files.
When I first time try to upload media files, WP tries to create uploads folder under wp-content and fails. It’s logical because WP scripts run under wwwrun/nobody owner/group.
To solve this, I changed wp-content permissions for 777 temporary, but now uploads folder (and its subfolders/files) belongs to wwwrun/nobody user.
Is there any way to keep every file&folder under FTP users ownership?
(Nice solution for this is the upload of themes and plugins as FTP user from WP script.)Anyway, which WP directories should be writable/executable by WP script (which at me runs under wwwrun/nobody user)?
It’s strange not to find any info about this on the net…
- The topic ‘Directory permissions for WP script’ is closed to new replies.