Missed one VFS_STAT -> VFS_LSTAT
authorJeremy Allison <jra@samba.org>
Fri, 2 Oct 2009 18:07:17 +0000 (11:07 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 2 Oct 2009 18:07:46 +0000 (11:07 -0700)
Jeremy.

source3/smbd/posix_acls.c

index e289e51408b71e83786317d42405c218091b2bde..6b5a9af45bd687522b0a71bcfd094840dcdf38b3 100644 (file)
@@ -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);
        }