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

Capturing SetSecurity events #130

Open
rjpfonseca opened this issue Jun 30, 2021 · 2 comments
Open

Capturing SetSecurity events #130

rjpfonseca opened this issue Jun 30, 2021 · 2 comments

Comments

@rjpfonseca
Copy link

Hi.

In Windows 10 with the debug option "-d" switched on, whenever I assign file permissions to a specific user/group, I can see the corresponding SetSecurity events from the logs produced by winfsp.

Is it possible to capture these events programmatically using jnr-fuse, e.g. with a callback, or is that out of scope for the project?

Thank you.

@rjpfonseca
Copy link
Author

rjpfonseca commented Jul 2, 2021

The WinFsp Native API FSP_FILE_SYSTEM_INTERFACE contains the SetSecurity event as well as many others. I now see that jnr-fuse doesn't offer a java interface for implementing these Windows-specific filesystem calls. Are there any plans to allow for it in the future?

Thanks.

@SerCeMan
Copy link
Owner

Hi, @rjpfonseca! Sorry for the late reply, I missed the notification. At the moment, I don't have any plans to implement winfsp-specific functionality. However, I'm happy to review and accept the pull request. There is definitely a room for additional abstraction for OS-specific extensions.

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

2 participants