]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib: Changed chown to chmod for Linux NFS Flush
authorShaun A. Johnson <shaun@linuxmagic.com>
Mon, 13 Aug 2018 23:43:04 +0000 (16:43 -0700)
committerVille Savolainen <ville.savolainen@dovecot.fi>
Tue, 10 Sep 2019 07:01:51 +0000 (10:01 +0300)
commitde72f0b0f2f9d351ac2f3f56e032a90933be6990
tree324a48f0cf1e54024437bf921e66beffd3403048
parente4b7711bffca93531da663f82d172c05007d028c
lib: Changed chown to chmod for Linux NFS Flush

This change switches the chown call to a chmod call in the function
nfs_flush_chown_uid because the chown call was resulting in certain
permission bits being dropped when the nfs attributes were flushed.

Functionality for FreeBSD/Solaris was left unchanged.
src/lib/nfs-workarounds.c