All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: NFSv3 ACL status?
@ 2004-08-12 15:00 Lever, Charles
  2004-08-12 15:14 ` [NFS] " Peter Astrand
  2004-08-13  8:52 ` Olaf Kirch
  0 siblings, 2 replies; 6+ messages in thread
From: Lever, Charles @ 2004-08-12 15:00 UTC (permalink / raw)
  To: Peter Astrand; +Cc: nfs

[ acl-devel@bestbits.at is rejecting my mail, so i have dropped it from
the cc: field ]

> > Solaris ACL support is in some kernels but not others.  i=20
> believe RHEL=20
> > 3.0 includes Solaris ACL support for both the NFS client=20
> and server,=20
> > for example, as an extra patch.  stock 2.4 does not.
>=20
> Now I'm confused. Is "Solaris ACL support" something=20
> different than the generic ACL patches Andreas provides?

Sun created a side-band NFS-related protocol (like NLM or NSM) to allow
NFS clients to access and modify POSIX ACLs via NFSv3.  it was never
standardized, so some implementations provide this support, and others
do not.  Solaris was the first O/S to get this support.

i believe what ag's patch set provides is "POSIX ACL support" which
means he has added the generic file system interfaces needed to support
ACLs as they are described in the POSIX standards.  "Solaris ACL
support" means using the Sun-defined NFS side-band protocol to access
and modify POSIX ACLs via an NFS client.

Linux (in 2.4 kernels) does not provide support for accessing and
modifiying ACLs on the server via NFS.  neither the client side nor the
server side support is there.  there are some patches against 2.4 that
provide this support on both sides, and i believe they are part of ag's
ACL patch set.

note that NFSv3 clients can still respect the server-side ACL settings
because with v3, a new operation, called ACCESS, was added to allow
clients that don't support fine-grained access control to honor the ACL
settings on the server.  instead of basing access control strictly on a
file's mode bits, an NFSv3 client uses an ACCESS operation to see if
there are any other access restrictions on a file that are not visible
via the file's attributes.


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 6+ messages in thread
* RE: NFSv3 ACL status?
@ 2004-08-12 14:03 Lever, Charles
  0 siblings, 0 replies; 6+ messages in thread
From: Lever, Charles @ 2004-08-12 14:03 UTC (permalink / raw)
  To: Peter Astrand; +Cc: nfs, acl-devel

> Can someone give an quick overview of the Linux NFSv3 ACL=20
> status? The Linux NFS FAQ at http://nfs.sourceforge.net/ says:
>=20
> "D3. What does this mean:  svc: unknown program 100227 (me 100003)
>=20
> A. It refers to a mount request by a Solaris system that is=20
> trying to get ACL information - which linux obviously does not have. "
>=20
> But: http://acl.bestbits.at/ seems to indicate that ACLs over=20
> NFSv3 actually works, and provides patches for 2.6.1, but I=20
> can't find any information about if this patch is really=20
> needed for modern kernels
> (2.6.7) or modern distributions. Is this patch for the=20
> server, client or=20
> both?=20

Solaris ACL support is in some kernels but not others.  i believe RHEL
3.0 includes Solaris ACL support for both the NFS client and server, for
example, as an extra patch.  stock 2.4 does not.

i believe there is a plan to include Solaris NFSv3 ACL support in the
2.6 client and server at some point in the near future so that everyone
will get the same implementation, and the distributions won't have to
add a separate patch if they need it.

the Linux NFSv4 client/server implementation is getting ACL support
right now.  there are issues with how to map POSIX ACLs (which Linux
uses) to NFSv4 ACLs, which are semantically richer but not quite
compatible, and how to allow user-level programs to access and modify
NFSv4 ACLs directly.  but NFSv4 ACL support should be wire compatible
with Sun's Solaris NFSv4 implementation as well.

at some point when the universe is less complicated i plan to update the
FAQ to reflect these changes.  (thermodynamically i should not have long
to wait, right?)


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 6+ messages in thread
* NFSv3 ACL status?
@ 2004-08-12  7:01 Peter Astrand
  0 siblings, 0 replies; 6+ messages in thread
From: Peter Astrand @ 2004-08-12  7:01 UTC (permalink / raw)
  To: nfs, acl-devel


Can someone give an quick overview of the Linux NFSv3 ACL status? The
Linux NFS FAQ at http://nfs.sourceforge.net/ says:

"D3. What does this mean:  svc: unknown program 100227 (me 100003)

A. It refers to a mount request by a Solaris system that is trying to get
ACL information - which linux obviously does not have. "

But: http://acl.bestbits.at/ seems to indicate that ACLs over NFSv3
actually works, and provides patches for 2.6.1, but I can't find any
information about if this patch is really needed for modern kernels
(2.6.7) or modern distributions. Is this patch for the server, client or 
both? 

Also, what about interoperatbility with Solaris?


/Peter Åstrand 




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

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

end of thread, other threads:[~2004-08-13 14:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-12 15:00 NFSv3 ACL status? Lever, Charles
2004-08-12 15:14 ` [NFS] " Peter Astrand
2004-08-13  8:52 ` Olaf Kirch
2004-08-13 14:45   ` Steve Dickson
  -- strict thread matches above, loose matches on Subject: below --
2004-08-12 14:03 Lever, Charles
2004-08-12  7:01 Peter Astrand

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.