linux-nfs / nfsd

Linux kernel source tree
Other
0 stars 0 forks source link

Extended account squashing using a numeric parameters #7

Closed chucklever closed 7 months ago

chucklever commented 7 months ago

This was bugzilla.linux-nfs.org 181

[Mark Hobley 2009-09-06 06:36:48 UTC] This is an idea to extend NFS account squashing to allow a range of accounts to be squashed by providing a numerical parameter. The idea concerns implementations of NFS on Linux.

On Linux, currently only the root account can be squashed via NFS. However, we could extend this facility by using a numeric option added to the /etc/exports file.

For example:

/foobar 10.0.0.0/18(rw,squashbelow=14)

This would squash all accounts numbered 14 or below.

This option could still be used with the no_root_squash option:

/foobar 10.0.0.0/18(rw,squashbelow=14,no_root_squash)

Here, accounts 1 to 14 are squashed, but the root account (0) is not squashed.

chucklever commented 7 months ago

[J. Bruce Fields 2022-01-08 20:59:27 UTC] Every now and then I hear a request for more flexible idmapping. Nobody's working on it. Probably should just be closed as WONTFIX for now, but reassigning to Chuck in case he wants to consider it.

chucklever commented 7 months ago

[Chuck Lever 2022-01-21 19:18:35 UTC] There have been no recent requests for this feature.