FACL, Get effective: ---
Hi,
I’ve set for a directory the following
<span style="color:#323232;">setfacl -dm u:aUser:r aDirectory
</span><span style="font-style:italic;color:#969896;">#set new files to be readable by aUser
</span><span style="color:#323232;">
</span><span style="color:#323232;">cp ~/Desktop/aFile.txt /xx/xx/xx/aDirectory
</span><span style="color:#323232;">
</span><span style="color:#323232;">getfacl aFile.txt </span><span style="font-style:italic;color:#969896;">#the copied one
</span>
<span style="color:#323232;"># file: aFile.txt
</span><span style="color:#323232;"># owner: me
</span><span style="color:#323232;"># group: me
</span><span style="color:#323232;">user::rwx
</span><span style="color:#323232;">user:aUser:r--
</span><span style="color:#323232;">group::r-x
</span><span style="color:#323232;">mask::rwx
</span><span style="color:#323232;">other::rwx
</span>
So indeed we see the aUser
got r–
but
<span style="color:#323232;">stat aFile.txt
</span>
return
<span style="color:#323232;">(0777/-rwxrwxrwx) #!!!!
</span>
is that normal ???
Thanks.