nfs4_setfacl and principals with spaces
Subsystems (2)
Hi,
nfs4_setfacl doesn't seem to be able to cope with spaces in the principal's name:
nfs4_setfacl -a A:fdg:"Domain [email protected]":rwaDdxtTnNcCoy file
Scanning ACE string 'A:fdg:Domain' failed.
Failed while inserting ACE(s) (at index 1).
No variation of quoting or escaping seems to be able to work around this problem. Is this a known problem or is there a magic way to work around it that I haven't worked out?
I'm using 0.3.3 of nfs4-acl-tools as shipped with SLES 11.
If this hasn't been fixed in the whatever the latest version is I'd happily do so myself and submit a patch, but I can't find the source anywhere. I can only find a reference to a broken git link at <http://linux-nfs.org/wiki/index.php/Client_ACL_tools>.
Signature · 5 lines
Liam Gretton [email protected] HPC Architect http://www.le.ac.uk/its IT Services Tel: +44 (0)116 2522254 University of Leicester, University Road Leicestershire LE1 7RH, United Kingdom
A bit more Googling and I found a git repository at <git://linux-nfs.org/~bfields/nfs4-acl-tools.git>.
Assuming this really is the latest version I've now fixed the problem and will submit a patch to Bruce Fields.
If anyone thinks that's the wrong source for the ACL tools please let me know.
Signature · 5 lines
Liam Gretton [email protected] HPC Architect http://www.le.ac.uk/its IT Services Tel: +44 (0)116 2522254 University of Leicester, University Road Leicestershire LE1 7RH, United Kingdom