I've currently got XAMPP installed (Apache webserver emulation coupled with Perl, Php, MariaDB) and I wish to modify its configuration file (httpd.conf)
Trouble is as well as 'root' being the owner, 'root' is also the group and everyone else including my user login only has read permission, not write. Yes I could apply 666 to the file permissions but consider that a bad habit to get into. Instead I'd like to create a new user group called 'xampp', and assign that group to the httpd.conf file with RW permissions. If my user id then joins that group presumably I'll then be able to modify that file.
My question is, can you have more than one user group assigned to a file and if so, what is the command and syntax to do so?
Trouble is as well as 'root' being the owner, 'root' is also the group and everyone else including my user login only has read permission, not write. Yes I could apply 666 to the file permissions but consider that a bad habit to get into. Instead I'd like to create a new user group called 'xampp', and assign that group to the httpd.conf file with RW permissions. If my user id then joins that group presumably I'll then be able to modify that file.
My question is, can you have more than one user group assigned to a file and if so, what is the command and syntax to do so?
Last edited: