rodrigo at October 8th, 2011 11:25 — #1
for testing purposes, while configuring my web applications, I change the ownership of my application's folder in the server to the Apache user (www-data in Ubuntu):
$ sudo chown -R www-data:www-data /var/www/joomla
Working wiht EC2 and BitNami AMIs, I changed the owner to "apache" and everything ran smoothly:
$ sudo chown -R apache:apache /opt/bitnami/apps/joomla
But when I work in localhost server with a BitNami native stack, the BitNami "apache" user does not exist. And if I change the ownership of the applications folder to Ubuntu's Apache user "www-data", I'm not able to acces it via browser anymore.
Did you face this problem before? What's the apache user for BitNami native stacks?
Thank you very much in advance,
beltran at October 8th, 2011 12:05 — #2
If you have installed as a regular user, the Apache user is the same that your user. If you have installed as root user, the default Apache user is "daemon". I hope it helps.
rodrigo at October 9th, 2011 04:55 — #3
daniel_lopez at October 9th, 2011 07:37 — #4
Rodrigo, can you mark the question as accepted?
sakumatto at January 22nd, 2013 14:56 — #5
I have a follow up question to this:
All files on the Bitnami WP Multsite stack are daemon:daemon but all files I add as bitnami user over ssh or scp are daemon:bitnami. How will this affect the usability of my server? Should I chgrp -R all daemon:bitnami directories and files to daemon:daemon?
victor at January 24th, 2013 04:17 — #6
It is not necessary if the permissions of these files you are uploading are correct. I mean, check the permissions that correspond to each user or group. That's the key.
I hope it helps you. If not, tell me an example and I will try to explain it in more detail. Regards.