summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/posix_acls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c
index e289e51408..6b5a9af45b 100644
--- a/source3/smbd/posix_acls.c
+++ b/source3/smbd/posix_acls.c
@@ -3494,7 +3494,7 @@ int try_chown(connection_struct *conn, struct smb_filename *smb_fname,
}
if (lp_posix_pathnames()) {
- ret = SMB_VFS_STAT(conn, smb_fname);
+ ret = SMB_VFS_LSTAT(conn, smb_fname);
} else {
ret = SMB_VFS_STAT(conn, smb_fname);
}