File Chown
file_chownChange file or directory ownership on an FNOS NAS. Set sub=True to recursively apply the new owner to all sub-items.
Instructions
修改文件/目录属主(写操作;sub=True 递归应用到子项)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sub | No | ||
| uid | Yes | 目标 UID(用户 ID) | |
| host | No | NAS 主机地址(IP 或域名) | |
| path | Yes | NAS 上的路径,如 /vol1/1000/文档 | |
| port | No | NAS 端口,如 5667(HTTPS)/5666(HTTP)/443 | |
| scheme | No | 传输协议 | |
| profile | No | 独立 session profile 名称,默认使用 default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |