3.2.4.10 Application Requests Setting File System Attributes

The application MUST provide the following:

  • An Open that identifies a file on the file system that will have its attributes set.

  • The Information Level that defines the format of the data to set. Valid Information Levels are specified in [MS-FSCC] section 2.5.

  • A buffer that contains the attribute data to be set on the server. The buffer is formatted as specified in the subsection of [MS-FSCC] section 2.5 that corresponds to the Information Level supplied by application.

This operation supports the use of pass-through Information Levels only. If the CAP_INFOLEVEL_PASSTHRU flag in Client.Connection.ServerCapabilities is not set, then the client MUST fail the request and return the error code STATUS_NOT_SUPPORTED to the calling application.

The client MUST construct a TRANS2_SET_FS_INFORMATION subcommand request, as specified in section 2.2.6.4.1.

The client MUST use Open.TreeConnect and Open.Session to send the request to the server. The request MUST be sent to the server, as specified in section 3.2.4.1.