3.3.5.58.9 Receiving a TRANS2_SET_FILE_INFORMATION Request

Upon receipt of a TRANS2_SET_FILE_INFORMATION Request (section 2.2.6.9.1), the Trans2 subsystem MUST validate the file handle specified in the FID field in the Trans2_Parameters block of the request. The file indicated by FID MUST be a directory or regular file, and MUST exist within the share indicated by the TID supplied in the SMB Header (section 2.2.3.1).

The set of standard and extended attribute information included in the request is identical to the set supported by TRANS2_SET_PATH_INFORMATION. The information level to use is specified in the InformationLevel field. Section 2.2.8.4 provides the formats and descriptions of valid information levels.

The setting of attribute information for the root directory of the share MUST NOT be supported. If the client attempts to set attributes on the root directory of the share, the server MUST return STATUS_ACCESS_DENIED (ERRDOS/ERRnoaccess) and MUST increase Server.Statistics.sts0_permerrors by 1.