In general, owner and group are completely independent. Normally though, in your home directory, your files belong to your own group except if you need them to be shared with another group (you possibly also belong to). A common usecase is an environment where a webserver serves the users ~/public_html
directory but does not run as root
. You'd then share that directory by assigning it the group of the webserver (often called apache
, www
or httpd
) and granting that group the permissions to read the directory (chmod g+rx
).
If you have such files, it would be helpful to know where you have these and (if you know that) to whom the group which is set on these files belongs. If you decide to change that group to your own, you'll change the conditions under which the files can be accessed, which can lead to tasks failing due to Permission Errors or even opening these files for unauthorized access (if others have more privilegues than group).
I'd suggest unix.SE instead of superuser.SE. Maybe some Mod can move?
– Jonas Schäfer – 2012-11-29T11:38:30.637sorry. i will overthink the next time where to put my question. – None – 2012-11-29T11:52:54.460