Posted by no_longer_active_19 on November 26, 2012 at 5:16am
still having problems with 403 permission denied to run install.php for drupal on vps so trying to change ownership
of sites folder for practice on change ownerships but am getting this:
-bash-4.1# cd /var/www/drupal-7.17/
-bash-4.1# sudo chown -R user1:www-data sites
chown: invalid user: `user1:www-data'
Comments
and not following this
http://drupal.org/node/244924
don't know what my username is except for 'root' in command as admin apart from logins to vps manager and control panel
so can't change core folders and files to admin
Reply to comment chown: invalid user: `user1:www-data'
Are you sure user1 exists ?
Do you see it running "cat /etc/passwd|grep user1" ?
BertrandL
i know
user1 doesn't exist but i don't know what to call myself for ownership. how to id myself as admin.
www-data is also a user as a group
cd /var/www/drupal-7.17/
sudo chown -R www-data:www-data sites
www-data is user who run apache
BertrandL
yes
thank you, I've since found that out. My problem was with virtualmin having not given the settings enough attention because
reinstalling the server and starting from scratch without a control panel has not thrown any errors. It has something to do with
SSL certificates auto set up in webmin or child panel. That is my feeling anyway.
starting over
re-installing server start from scratch