After completing the Magento 2.0.0 rc and creating the user 'www-data' for the root installation drive /var/www/html I was unable to run the following command.
Enable Apache user ->sudo chsh -s /bin/bash www-data Set the user’s password -> sudo passwd www-data Trying to take ownership of my Magento2 files using 'www-data' user -> chown -R www-data .
Received a very large list of errors either Operation not permitted or Permission denied
Thanks in advance.