How to use setfacl

Hi all,

If, for e.g. I have folder with permissions like this:

drwxr-xr-x 2 fuad_ftp nms 96 Jan 8 13:55 test

I want to give for user user123 acces rwx using setfacl:

setfacl -m user:user123:rwx test

But effective rights still is r-x because of mask...

nypreH@bauas1o> setfacl -m user:user123:rwx test
nypreH@bauas1o>
nypreH@bauas1o>
nypreH@bauas1o>
nypreH@bauas1o> getfacl test
# file: test
# owner: fuad_ftp
# group: nms
user::rwx
user:user123:rwx #effective:r-x
group::r-x #effective:r-x
mask:r-x
other:r-x
nypreH@bauas1o>

So, how can I ignor mask filtering for this user? there is some option -n, but I don't know how to use it.

Thanks in advance,
Best Regards,
Roman

You need to add the "-r" option to the setfacl command for the mask to be recalculated.