Linux groups - doing something wrong here.
Posted: 2006-11-25 04:42pm
Ok, I'm trying to give myself write access to /var/www by using a group. If possible I'd like to avoid having to have it be my primary group as I'd like to be able to give other users access to it in future.
Anyway,
ls -l within /var gives me
drwxrwxr-x 3 root www 4096 2006-11-26 10:15 www
The last few lines of /etc/group
mark1000: (group identical to my userID, created when userID was.)
admin112:
files1001:
mysql113:
ssl-cert114:
www1002:mark (group I created, then added myself to with "usermod -G www mark")
Still no write access.
I get the impression I'm either doing something wrong or impossible. Can anyone give me some pointers here?
Edit: I think I may have just fucked my sudo access.
Edit2: Yes I did...and there's no password set on root....great.
Anyway,
ls -l within /var gives me
drwxrwxr-x 3 root www 4096 2006-11-26 10:15 www
The last few lines of /etc/group
mark1000: (group identical to my userID, created when userID was.)
admin112:
files1001:
mysql113:
ssl-cert114:
www1002:mark (group I created, then added myself to with "usermod -G www mark")
Still no write access.
I get the impression I'm either doing something wrong or impossible. Can anyone give me some pointers here?
Edit: I think I may have just fucked my sudo access.
Edit2: Yes I did...and there's no password set on root....great.