Skip to content

在ArchWSL上无法对挂载点使用fopen-filter #39

@xyber-nova

Description

@xyber-nova

使用对于文件的过滤器可以正常工作

> sudo lrun --uid 1001 --gid 1001 --fopen-filter f:/etc/fstab d cat /etc/fstab
[sudo] xycode 的密码:
cat: /etc/fstab: 不允许的操作

对于挂载点使用则报错

> sudo lrun --uid 1001 --gid 1001 --fopen-filter 'm:/proc:^/proc/.*stat.*$' d wc -l /proc/self/status
ERROR: cannot mark path (Operation not permitted)

操作系统为ArchWSL(Github版,非微软商店版),已在多个挂载点上测试过。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions