Hello,
How does the export(5) option all_squash export option work? Does it
only squash the uid/gid of new files to nobody/nogroup, or will it
turn the uid/gids of all existing files in the exported tree to
nobody/nogroup?
Thanks,
Martin
Hi Martin,
The option all_squash does not affect files or directories.
It replaces RPC request credentials sent by nfs client with
user nobody:nobody. The newly created files will be owned by
nobody:nobody, if parent directory permission
(and export rules) allow to do so.
Best regards,
Tigran.
----- Original Message -----
> From: "Martin Wege" <[email protected]>
> To: "Linux NFS Mailing List" <[email protected]>
> Sent: Sunday, 3 March, 2024 14:31:37
> Subject: export(5) all_squash, only new files squashed, or all uid/gids?
> Hello,
>
> How does the export(5) option all_squash export option work? Does it
> only squash the uid/gid of new files to nobody/nogroup, or will it
> turn the uid/gids of all existing files in the exported tree to
> nobody/nogroup?
>
> Thanks,
> Martin