* export(5) all_squash, only new files squashed, or all uid/gids?
@ 2024-03-03 13:31 Martin Wege
2024-03-07 13:39 ` Mkrtchyan, Tigran
0 siblings, 1 reply; 2+ messages in thread
From: Martin Wege @ 2024-03-03 13:31 UTC (permalink / raw)
To: Linux NFS Mailing List
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: export(5) all_squash, only new files squashed, or all uid/gids?
2024-03-03 13:31 export(5) all_squash, only new files squashed, or all uid/gids? Martin Wege
@ 2024-03-07 13:39 ` Mkrtchyan, Tigran
0 siblings, 0 replies; 2+ messages in thread
From: Mkrtchyan, Tigran @ 2024-03-07 13:39 UTC (permalink / raw)
To: Martin Wege; +Cc: Linux NFS Mailing List
[-- Attachment #1: Type: text/plain, Size: 812 bytes --]
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" <martin.l.wege@gmail.com>
> To: "Linux NFS Mailing List" <linux-nfs@vger.kernel.org>
> 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
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 2826 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-03-07 13:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-03 13:31 export(5) all_squash, only new files squashed, or all uid/gids? Martin Wege
2024-03-07 13:39 ` Mkrtchyan, Tigran
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).