OK, so I am trying to figure out how to add a user to the "www-data" group. I also want to change the "sudo" group's permissions too (not user permissions, but permissions for the entire group!).
Can anybody help me with this before I follow a guide on the 'net and make a permissions error elsewhere on the system? (!)
What exactly does the output of
id pi mean, i.e. "uid=/gid=/groups="?
uid=1000(pi) gid=1000(pi) groups=1000(pi),4(adm),20(dialout),24(cdrom),27(sudo),29(audio),
And what are secondary groups and how do you add them? I was under the impression that I had a group called
www-data yet when I do just
groups I get the following output that doesn't even list it:
pi adm dialout cdrom sudo audio video plugdev games users netdev input indiecity spiuser
Lastly, how do I change the permissions of a group (not a user within the group)?