I have 4 users ( first - fourth ) and two groups to which users belong to: pro: ( first and second users ) lammer: ( third and fourth users ) each of them have home directories of
My problem comes from the fact that I don't really understand what the exercise is asking me to do (this will be rough translation).
Users can do whatever they want with their files.
Same group users can modify and write in each others root directory ( ex: in
/home/pro/first, but not in
/home/pro/first can only delete files that he created, but not the ones others created. ( probably applies to others as well )
What I was thinking is that I do for each and every file:
chown first:pro /home/pro/pirmas chmod 720 /home/pro/pirmas
But does this also prevent people from deleting files created by others and from creating files in