Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #65323 > unrolled thread

Bug#934160: nfs-common: Umask ignored, all files created world-writable on NFS

Started byCédric <cedric.dufour@ced-network.net>
First post2019-10-05 18:20 +0200
Last post2019-10-05 18:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.debian.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#934160: nfs-common: Umask ignored, all files created world-writable on NFS Cédric <cedric.dufour@ced-network.net> - 2019-10-05 18:20 +0200

#65323 — Bug#934160: nfs-common: Umask ignored, all files created world-writable on NFS

FromCédric <cedric.dufour@ced-network.net>
Date2019-10-05 18:20 +0200
SubjectBug#934160: nfs-common: Umask ignored, all files created world-writable on NFS
Message-ID<yNUWJ-2mf-1@gated-at.bofh.it>
+1

QUIRK: In order to reliably disable NFS 4.2 on *server* side; in /etc/systemd/system/nfs-server.service.d/nfs-version.conf

# Disable NFS 4.2
# FIX: umask ignored (files created world-writable) when using NFS 4.2 (on top of ZFS)
# BUG: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934160
# REF: https://tools.ietf.org/id/draft-ietf-nfsv4-umask-03.html
#      https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=47057abde515155a4fee53038e7772d6b387e0aa
#      https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=880a3a5325489a143269a8e172e7563ebf9897bc
# BUG: https://zfsonlinux.topicbox.com/groups/zfs-discuss/T36a651c77dc95fec-Ma755882676a054fe9a903c7f/zfs-discuss-umask-not-respected-when-a-shared-dataset-is-mountedvia-nfs-4-2
# BUG: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=738063
# BUG: https://linuxlists.cc/l/17/linux-nfs/t/3236382/nfs-config.service_fails_to_apply_no-nfs-version_after_a_reboot#post3236382
[Service]
ExecStartPre=/bin/sh -c '/usr/sbin/rpc.nfsd 0; echo -2 +3 +4 +4.1 -4.2 > /proc/fs/nfsd/versions'

[toc] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web