* and we're in POSIX context.
* Ensure this is the case.
*
- * There is still a race condition in that
- * the symlink could be changed after we
- * checked it, so ensure we only operate
- * EA setting on a file handle.
+ * In this case we cannot set the EA.
*/
SMB_ASSERT(smb_fname->flags & SMB_FILENAME_POSIX_PATH);
- if (!(smb_fname->flags & SMB_FILENAME_POSIX_PATH)) {
- return NT_STATUS_ACCESS_DENIED;
- }
- status = refuse_symlink(conn, NULL, smb_fname);
- SMB_ASSERT(NT_STATUS_EQUAL(status, NT_STATUS_ACCESS_DENIED));
return NT_STATUS_ACCESS_DENIED;
}