PDA

View Full Version : [ubuntu] Invalid user apache



ubila
April 27th, 2009, 09:19 AM
Hi,
Im trying to change the ownership of my svn folder to apache


sudo chown -R apache:apache /var/lib/svn/repo1This is returning the error:

chown: invalid user: 'apache:apache'

---

I have apache2 installed and up to date.
Running ubuntu server

Any help would be appreciated :)
Cheers!

TuckLive
April 27th, 2009, 09:26 AM
Try:


sudo chown -R apache /var/lib/svn/repo1

Just noticed my error as it's www-data. Apologies

sahabcse
April 27th, 2009, 09:33 AM
Hi

In ubunut apache runs as the user www-data. Not be the user apache

ubila
April 27th, 2009, 09:37 AM
Hi

In ubunut apache runs as the user www-data. Not be the user apache

Hi thanks that worked :)

sudo chown -R www-data /var/lib/svn/repo1

Thanks again :)