as the title, I have to create a file, example:
/home/john/file.ini
I created an user and a group, myuser:mygroup and set them to this file.ini
chown myuser:mygroup file.ini
Ok, my problem is
I have another user named mymain this user must read this file, so how can I change the permissions?
IMPORTANT: I ONLY have to allow "mymain" user to read this file, NOT all other users
So myuser (owner of the file) and then mymain. Stop.