I am running getfacl/setfacl version 2.2.52. Two days ago I ran getfacl outputting to backupACL.txt. Today I tried restoring from that file:
Code:
> setfacl --restore=/backupACL.txt
setfacl: /backupACL.txt: Invalid argument in line 25
group:NT\040AUTHORITY\134system:rwx
Line 25 is shown just above. I asked this question a long time ago (2018) and must have found an answer, but didn't post my solution. Now, I have the same problem again. It seems that the \040 octal space is invalid. Rather crazy since the same version of getfacl created that line in the first place, but there you have it!
How can I get setfacl --restore to work with this file? Replace \040 by spaces? Do that plus put characters following the : in quotes? I hate to experiment if someone knows the answer.