For example, to copy the ACL from one file to another, the command is
getfacl notes | setfacl --set-file=- notes2.
Why is there a need for the - after the = sign ?
I tried it without the -, and I got "No such file or directory" ..
Additionally, I googled and there seems to be a
-f option for
setfacl, but the man page doesn't state it. Anybody can shed light on this well ? Thanks alot