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

Cannot create a file named starting with ._ #33

Open
LuttyYang opened this issue Jul 19, 2023 · 4 comments
Open

Cannot create a file named starting with ._ #33

LuttyYang opened this issue Jul 19, 2023 · 4 comments

Comments

@LuttyYang
Copy link

LuttyYang commented Jul 19, 2023

To reproduce it, use the command touch ._normal.

You will receive the following error message: touch: ._normal: No such file or directory.

Is this possibly a special file unique to MacOS? Can we consider adding an option to enable the creation of these files?

@alexfs
Copy link

alexfs commented Jul 19, 2023

I was able to create such a file with bindfs.

@LuttyYang
Copy link
Author

I try this demo, but it still doesn't work.

https://github.com/winfsp/cgofuse/blob/master/examples/memfs/memfs.go

Based on your description, it is possible that there is a compatibility issue between the winfsp/cgofuse library and fuse-t.

@alexfs
Copy link

alexfs commented Jul 20, 2023

I will investigate this issue. It only happens when trying to create such a file under a root folder. Could be a macos bug because files starting with ._ are known to be a resource fork file types.

@alexfs
Copy link

alexfs commented Jul 23, 2023

I can confirm it's a macOS bug which can be reproduced by mounting an NFS/SMB volume and trying to create a dot-underscore file on the root volume

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