Question

I'm trying to run the following command in Terminal:

chown -R couchdb:couchdb /usr/local/var/log/couchdb

However, I keep getting this message:

chown: couchdb: illegal group name

I am using mac osx (mountain lion) and I have command line tools installed. I really don't know very much about unix, but I've been googling the illegal group name error and haven't turned up anything that would help. What am I overlooking? Any additional resources you think might be helpful also appreciated.

Was it helpful?

Solution 2

illegal group name actually means that the group you're specifying (the couchdb after the colon -- the first couchdb is the user) doesn't exist. You need to either create the group, stop specifying a group, or specify a group that exists.

OTHER TIPS

Try using just the owner if no group.

sudo chown -R user: /usr/local/var/log/couchdb
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top