--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 操作。
  • 可以使用多个 --allow-fs-write 标志来允许多个路径。例如 --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.