-
Notifications
You must be signed in to change notification settings - Fork 357
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
Pasting files to partition which does not support file creation timestamp (btime) fail #1054
Comments
I'm a bit confused. From the provided logs, it seems that there's just an issue with obtaining the creation time of a file - it's part of the Rust Also this is a retry log, not a final failure log. If a copy task were to fail, it would be logged with "Failed to work on this task" at the beginning rather than "Paste task retry".
Yazi hasn't changed (even used) the creation time during the entire copy process, so I'm not sure what can be done here. |
I'll add more logs. Output of
Create test file on home (f2fs) echo test > ~/test Open Yazi, yank
Actually, zero-sized file |
Ah, sorry I misunderstood the log. Here is output of [piroro@pc USB_Flash_Disk]$ ls -la
total 58658816
drwxrwxrwx 4 root root 131072 5月 18 01:45 .
drwxr-xr-x 3 root root 60 5月 17 23:08 ..
drwxrwxrwx 4 root root 131072 5月 18 01:45 .Trash-1000
-rwxrwxrwx 1 root root 0 5月 18 01:45 50-router-workaround.old
-rwxrwxrwx 1 root root 6447361032 5月 18 01:31 AZUNA_LAGOON_day2.mp4
drwxrwxrwx 2 root root 131072 5月 4 23:39 'System Volume Information'
-rwxrwxrwx 1 root root 2451804820 5月 10 2022 dob_1st_day2.m2ts
-rwxrwxrwx 1 root root 1014660314 5月 3 13:03 dob_2nd_yoru.webm
-rwxrwxrwx 1 root root 18549408027 5月 18 00:34 dob_ULTRA_EXPO_2024.mp4
-rwxrwxrwx 1 root root 11198399861 11月 25 02:18 hasu_1st_tyo_day2.mp4
-rwxrwxrwx 1 root root 12439120391 5月 18 00:56 hasu_2nd_chiba_day2.mp4
-rwxrwxrwx 1 root root 5958190785 5月 18 01:22 hasu_debut.webm
-rwxrwxrwx 1 root root 2006789842 5月 18 01:10 hasu_opening_hiru.mp4
-rwxrwxrwx 1 root root 0 5月 18 01:45 test |
Yes, this is the real reason for the failure. Unfortunately, I don't think there's anything Yazi can do here - this error is returned by the operating system and Yazi simply calls |
OK, creating small program using |
I'm not sure about the specific cause of the issue you encountered, but I believe it's largely related to correct permission settings. I didn't encounter any problems in my testing with an ExFAT USB; all files were successfully copied: screenshot-000009.mp4Don't get me wrong - I don't mind adding additional fallback if it suits your use case and I'd be happy to accept a PR for it. Since I couldn't replicate the issue, it's difficult to pinpoint. |
I'm going to lock this issue because it has been closed for 30 days. ⏳ |
What system are you running Yazi on?
Linux Wayland
What terminal are you running Yazi in?
Ptyxis 46.2
Did you try the latest code to see if this problem got fixed?
Tried, but the problem still
yazi --debug
outputDescribe the bug
Copying files to exFAT formatted USB stick fail.
Appearently creation time is not supported on exFAT.
Expected Behavior
Using last modification time (mtime) instead as it is more widely supported across filesystems.
To Reproduce
Copying files to exFAT formatted USB stick.
Configuration
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: