-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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: croc always creates a folder "~" when receiving files #880
Comments
I can't replicate this. do you have a way to reproduce the error? |
Not really a specific way, this occurs everytime I transfer any kind of file/folder to my Mac. Any way I could debug this? What I just tested to narrow this down is working with different shells/terminal emulator. But it seems to be independent of this. |
let me know if you can reproduce it, I cannot: On ubuntu:
On Mac
no |
Tried what you suggested, as soon as I call
the last entry then is an empty directory called |
what is the folder structure of the sent folder |
Just created that quickly with:
|
yeah did exactly that, can't reproduce. is this happening on linux and windows? |
no, happening on macOS only EDIT: I guess I need to debug that on my own here on my device. At least I can narrow it a bit down, to be independent of the actual file transfer since it is created right after croc is called, and it actually creates the abovementioned folder structure. |
the issue was caused by a bad XDG_CONFIG_HOME variable set in my shell configuration. While it is usually set to |
thanks! good find. I guess croc could validate the home? not sure...if you want to make a PR please feel free! |
As the title says, croc behaves somewhat strange on macOS. I usually transfer files/folders between Linux and Windows machine, and my Mac using croc. When I send something from my Mac to Windows/Linux everything works as expected. However, when sending files from Windows/Linux to my Mac, croc always creates a folder called "~" in the same folder where the received files/folders are stored and the "~" folder doesn't have any content.
I'm using latest macOS 15.1.1 and croc 10.2.1 on macOS.
What I've observed so far:
This seems to be a problem since several versions. I couldn't find out so far at which version this issue started to occur. However, there is no change in that behaviour if the peers use the same or different versions.
Any ideas or hints what I should have a look at to find out what's the issue?
The text was updated successfully, but these errors were encountered: