Can we consider the owner as a group that has exactly 1 member? Does the owner have any special abilities apart from the given permissions?
I want to have two equal users with the same permissions in directories. These two users (user1
, user2
) will have rwx
. I need another user (user3
) who has rx
or wx
depending on the dir.
Can I chown
the dirs to user3
and assign user1
, user2
to the same group?
owner
=user3
(rx
||rw
depending on the dir)group
=user1
,user2
(rwx
on all dirs)
user1
and user2
are hard linked to user3
/home
dir. (I don't know if this is the best practice for a shared dir)
I want to avoid ACL
if possible.
edit: user1
and user2
are needed so their individual actions in the system can be traced.
For example, the commands chown, chgrp, chmod only work for the owner of a file/directory (or for root)
Thanks. I didn't take that into account.
– thanosam Mar 24 '21 at 22:06