05-02-2018, 09:12 PM
Hi forum.
I have this situation where I have two users on the computer. I have tried to read up on users and groups to understand, but is still very new to this (most of what I have done so far is by googling to find solutions, and I have not this in my fingertips so to speak).
When I installed LL, I left a partition (last half of disk space, ext4) for it self for general file store.
Now I have made a folder, say it's named "everybody", it is supposed to hold files that both users have access to. Both users should be able to edit and delete whatever file the other user have created.
First off what I have done is to create a group "commonfiles" and put user1 and user2 in that group. Then I made permission to folder "everybody" so that it had group "commonfiles" with all permission. user1 is the owner of "everybody" folder.
What I discovered next - a thing that I didn't want to happen. If I create a new sub folder logged in as user1, that folder got permission that owner/group of "user1". So when I log on as user2 and navigate into the same folder, user2 cannot edit/delete any files, unless user1 spesific say that the newly created folder should have group commonfiles instead of user1.
The question I have to make life easier: Should I just forget about having this group called "commonfiles" and instead just make user2 into group "user1"? That is - what benefits / caveats should I expect if I does that?
I have this situation where I have two users on the computer. I have tried to read up on users and groups to understand, but is still very new to this (most of what I have done so far is by googling to find solutions, and I have not this in my fingertips so to speak).
When I installed LL, I left a partition (last half of disk space, ext4) for it self for general file store.
Now I have made a folder, say it's named "everybody", it is supposed to hold files that both users have access to. Both users should be able to edit and delete whatever file the other user have created.
First off what I have done is to create a group "commonfiles" and put user1 and user2 in that group. Then I made permission to folder "everybody" so that it had group "commonfiles" with all permission. user1 is the owner of "everybody" folder.
What I discovered next - a thing that I didn't want to happen. If I create a new sub folder logged in as user1, that folder got permission that owner/group of "user1". So when I log on as user2 and navigate into the same folder, user2 cannot edit/delete any files, unless user1 spesific say that the newly created folder should have group commonfiles instead of user1.
The question I have to make life easier: Should I just forget about having this group called "commonfiles" and instead just make user2 into group "user1"? That is - what benefits / caveats should I expect if I does that?