Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
XYCode-Kerman opened this issue May 2, 2024 · 0 comments
Open

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

XYCode-Kerman opened this issue May 2, 2024 · 0 comments

Comments

@XYCode-Kerman
Copy link

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

> 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版,非微软商店版),已在多个挂载点上测试过。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant