--allow-fs-write


该标志使用 权限模型 配置文件系统写权限。

¥This flag configures file system write permissions using the Permission Model.

--allow-fs-write 标志的有效参数是:

¥The valid arguments for the --allow-fs-write flag are:

  • * - 允许所有 FileSystemWrite 操作。

    ¥* - To allow all FileSystemWrite operations.

  • 使用多个 --allow-fs-write 标志可以允许多个路径。示例 --allow-fs-write=/folder1/ --allow-fs-write=/folder1/

    ¥Multiple paths can be allowed using multiple --allow-fs-write flags. Example --allow-fs-write=/folder1/ --allow-fs-write=/folder1/

不再允许使用逗号 (,) 分隔的路径。当传递带有逗号的单个标志时,将显示警告。

¥Paths delimited by comma (,) are no longer allowed. When passing a single flag with a comma a warning will be displayed.

可以在 文件系统权限 文档中找到示例。

¥Examples can be found in the File System Permissions documentation.