Newbie in anything related to server configurations and most back-end. I'm a front-end dev so I don't have any back-off approaching the command line but I've read too much from too many forums and thought this would be the most neutral place to ask!
Drupal 6.26 site on Ubuntu 12.04.1 and php 5.3. Apache2
A fresh Drupal install on a new dev server and I get this when visiting:
"Directory not writeable"
Via logs from Drupal I see this is the trouble directory:
I am matching all permissions from an existing dev and production server but see that the owner/group/user is:
drwxrwxr-x 29 admin www-data on the existing/live/functioning site.
On my new install, I have this on the 'files' directory:
drwxrwxr-x 27 www-data www-data
I'm confused as to that first www-data, after the '27' in the line above. I need to change that to admin on this new dev server but I can't seem to get the right command to do so.
I've heard one shouldn't allow Apache write access to any files/folders and think that is what is happening on the current live/working site so on this new dev, I want to get the owners/permissions right so that updating the entire site (eventually, the new prod will be a copy of this virtual server and we'll point the domain) will be correct.
1. How do I change that first www-data to say admin?
2. What does the '27' refer to?
3. Is it bad to use 'chown' or not in anyone's opinion?
Thank you for the guidance.