ti fs chmod-file
Changes POSIX mode metadata for a remote path. The command alias is ti fs chmod.
Syntax
ti fs chmod-file
--mode <string>
--path <string>
[--dry-run]
[--file-system-id <string>]
[--fs-token <string>]
[--help]
[--version]
Options
--mode <string>: The permission mode as an octal value such as 0644. [required]--path <string>: File or directory path. [required]--dry-run: Validate the request without applying changes.--file-system-id <string>: Select the file system. You can also setTI_FS_FILE_SYSTEM_ID.--fs-token <string>: Set the file system user token. If omitted, usesTI_FS_TOKEN.--help: Display help information.--version: Display version information.
For options shared by all commands, see Global options.
Examples
Change remote permission metadata:
# Restrict the selected file to owner read and write access. ti fs chmod-file --file-system-id <file-system-id> --path /reports/final.md --mode 0600