All of lore.kernel.org
 help / color / mirror / Atom feed
* nfs4_setfacl and principals with spaces
@ 2012-07-18  8:07 Liam Gretton
  2012-07-18 10:56 ` Liam Gretton
  0 siblings, 1 reply; 2+ messages in thread
From: Liam Gretton @ 2012-07-18  8:07 UTC (permalink / raw)
  To: Linux NFS

Hi,

nfs4_setfacl doesn't seem to be able to cope with spaces in the 
principal's name:

nfs4_setfacl -a A:fdg:"Domain Admins@domain.com":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>.

-- 
Liam Gretton                                    liam.gretton@le.ac.uk
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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: nfs4_setfacl and principals with spaces
  2012-07-18  8:07 nfs4_setfacl and principals with spaces Liam Gretton
@ 2012-07-18 10:56 ` Liam Gretton
  0 siblings, 0 replies; 2+ messages in thread
From: Liam Gretton @ 2012-07-18 10:56 UTC (permalink / raw)
  To: Linux NFS

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.

-- 
Liam Gretton                                    liam.gretton@le.ac.uk
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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-07-18 10:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-18  8:07 nfs4_setfacl and principals with spaces Liam Gretton
2012-07-18 10:56 ` Liam Gretton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.