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

MacOS: Can't delete diacritically named files (NFC unicode form) #850

Open
eugenesvk opened this issue Jun 6, 2024 · 3 comments
Open

MacOS: Can't delete diacritically named files (NFC unicode form) #850

eugenesvk opened this issue Jun 6, 2024 · 3 comments
Labels
macOS Apple macOS ("darwin") specific issue

Comments

@eugenesvk
Copy link
Contributor

On macOS if I copy an NFC composed unicode form file with some diacritics (e.g., ü which is composed of 1 "composed" symbol) to a mounted Gocryptfs volume, I can't delete it in a file manager (even if I can delete the same file in the same with the same NFC form), though can delete it in a terminal

This might be a limitation of the upstream macfuse/macfuse#954, but I can create/rename such files, just can't delete them, so maybe it's a different issue?

@rfjakob rfjakob added the macOS Apple macOS ("darwin") specific issue label Aug 18, 2024
@rfjakob
Copy link
Owner

rfjakob commented Aug 18, 2024

I'm sorry, I have no idea, and I also don't have a Mac to test. Best I can do is to leave this ticket open so other people can find it.

@rfjakob rfjakob changed the title Can't delete diacritically named files (NFC unicode form) MacOS: Can't delete diacritically named files (NFC unicode form) Aug 18, 2024
@yahesh
Copy link
Contributor

yahesh commented Nov 11, 2024

@eugenesvk Could you maybe provide shell commands to recreate the problem you're having?

@eugenesvk
Copy link
Contributor Author

The issue exists for some cli apps as well, so if you install this https://github.com/sindresorhus/macos-trash (binary is trash) and do this you won't be able to delete the file

touch 'Terminal 1ü 2ü'
trash './Terminal 1ü 2ü'

You get the following error
The file “Terminal 1ü 2ü” doesn’t exist.

Repeat the same in a regular folder (non-gocryptfs-encrypted) and it works fine. The name consists of 1-symbol precomposed letter and a letter composed of 2 symbols 2ü

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
macOS Apple macOS ("darwin") specific issue
Projects
None yet
Development

No branches or pull requests

3 participants