-
Notifications
You must be signed in to change notification settings - Fork 2
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
can't pass st_file_attributes back #11
Comments
@robert-boulanger I have not thought this through, but it is likely that you can get it done by modifying If you make this work please consider sharing. |
@billziss-gh That worked fine, so changing self.conn_want to
and adding But for anyone reading this, it is worth to mention that using the FILE_ATTRIBUTES declared in pythons stat module and returned by FSP_FUSE_UF_HIDDEN = 0x00008000 as found in inc/fuse/fuse_common.h Took some time to find this out ;) |
@robert-boulanger yes, I forgot to mention the |
BTW, if this works well you can also submit it as a PR. |
As seen in winfsp/winfsp#114 it seems support for windows file attributes should be present.
The question is how to implement them in a proper way in fuse.py,or what changes are needed to make there.
Unfortunatly setting st_mode to S_IFREG | 0o555 for example is not enough. This would cause the file is readonly but lot of software seems to rely on the windows attributes to work proper.
Any hint how to modify fuse.py would be great.
The text was updated successfully, but these errors were encountered: