Subject: CVS commit: src/sys/nfs
To: None <source-changes@NetBSD.org>
From: Matthias Drochner <drochner@netbsd.org>
List: source-changes
Date: 09/29/2006 16:19:50
Module Name: src
Committed By: drochner
Date: Fri Sep 29 16:19:50 UTC 2006
Modified Files:
src/sys/nfs: nfs_vnops.c
Log Message:
Flush regular files before setattr also if the mode bits are going to
be set. Linux NFS servers (at least) reset suid/sgid bits if a write
happens afterwards. Add a comment why this is done.
This fixes system builds on diskless systems for me where suid bits
were missing after install(1).
Approved by yamt.
To generate a diff of this commit:
cvs rdiff -r1.241 -r1.242 src/sys/nfs/nfs_vnops.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.