I am using wordpress for developing a site. Many of the files and directories in /var/www/wordpress directory are having nobody:nogroup as owner including wordpress directory itself. My question is whether it is safe to have this ownership or should i change it to www-data:www-data. I am having only two users one is admin and one who will work on the site(for uploading some documents through a interface developed by admin using php on wordpress pages). Rest use it for viewing purpose and downloading those documents. It is more of a permission question than wordpress question. Thats why i asked it here. So that it will also help others who will use CMS like wordpress for website development.
Thanks
There are no specific rules regarding Apache & ownership of files/directories for WordPress. Rather it should be the generic one for PHP. Check this one: https://unix.stackexchange.com/questions/30879/what-user-should-apache-and-php-be-running-as-what-permissions-should-var-www