If I copy a file with a base ACL of:
u::rw-,g::r--,o::r-- into a directory with a default ACL of:
u::rwx,g::r-x,g:users:rwx,m::rwx,o::r-x I obtain a file with mask of m::r--. I would have expected the union of the permissions of the two group entries (i.e. m::rwx).
Why it is so? Does it depend on the mode parameter used by cp in the creation of the file?