changing group
I have a question about changing the group owner of a folder and the files in it.
I have a user, thomas, and a folder named folder1. This folder with the files in it is initially owned by user and group thomas. I want to change the group to "special" so I use the chgrp command like;
chgrp -R special folder1.
Here everything looks OK as both folder and files in it all have a new group owner, "special".
What confuses me is if user thomas now creates another file in "folder1" it does not get the group owner special but rather thomas.
Can anybody please exlplain why this is so and what I can do so that all new files saved in folder1 inherite the group special.
Thank you!
twallstr.
|