Whamcloud - gitweb
Branch: b1_4
authoradilger <adilger>
Wed, 16 Mar 2005 02:27:44 +0000 (02:27 +0000)
committeradilger <adilger>
Wed, 16 Mar 2005 02:27:44 +0000 (02:27 +0000)
commit1210c56d300edbdfb52bd20b2f4d4fd686f66e6f
tree1e0db8a0172275fa49d550272549ae42f53c5c54
parentb8e712cc676975a355f79138dfaaec98dbbad9a2
Branch: b1_4
Allow NFSD to reopen files for write that were created without write perms.
This is needed for HPUX NFS clients (cp creates files with mode 000), and
Linux NFS test progs that intentionally do the same because NFSD always
reopens files for each client RPC and loses the Lustre initial open(O_CREAT)
file handle that was allowed to open-for-write a readonly file.
This only works for the file owner so it is no net loss of security (the
user could always just chmod a file and then write to it).  Tested at HP.
b=5781
r=peter (concept)
lustre/ChangeLog
lustre/include/linux/lustre_idl.h
lustre/kernel_patches/patches/nfs_export_kernel-2.4.20-hp.patch
lustre/kernel_patches/patches/nfs_export_kernel-2.4.20-rh.patch
lustre/kernel_patches/patches/nfs_export_kernel-2.4.20.patch
lustre/kernel_patches/patches/nfs_export_kernel-2.4.21-chaos.patch
lustre/kernel_patches/patches/nfs_export_kernel-2.4.21-suse2.patch
lustre/kernel_patches/patches/nfs_export_kernel-2.4.22-rh.patch
lustre/kernel_patches/patches/nfs_export_kernel-2.4.22.patch
lustre/mdc/mdc_lib.c
lustre/mds/mds_open.c