I was so sure of myself, I thought I knew about permissions. Until someone asked me this.Having these users:User   Group----   -----juan   juanpedro  pedromaria  mariajose   josemiguel migueleric   ericlola   lolapaola  paola       This directory:  /opt/privado  with Owner = juan:juanPermissions:juan 111pedro  110maria and jose 101miguel and eric 100lola   000There are no common permissions for creating a group myGroup and assigning, for example, 110 because I have different permissions for a different group of users. How can this be done on Unix? Really the issue is for Linux, but maybe it is the same solution.
How can I set these permissions?
linux;permissions
You want to use POSIX ACLs for this, if you can't create sensible groups.  See the setfacl command.