Created attachment 108317 [details] Terminal output on kioclient input plus GUI failure notification New to KDE Dolphin (just installed Kubuntu 17.10 Beta 2) and finding I cannot create (from scratch, or via download or copy) files or folders with paths fewer than 255 characters but greater than roughly 190 characters in length (varies slightly from case to case -- typically 193 non-Unicode characters is the cap, though fewer characters are allowed if Unicode characters such as Chinese hanzi are included). Attached input and output from an attempt to move a filename (which worked previously in Linux Mint 18.2's Nemo file manager, on an Ext4 partition) from an external hard drive to Kubuntu. Also attached GUI pop-up error (which occurs both when file move is attempted in Dolphin GUI and in terminal using `kioclient`). Attempted downloads of files with comparable name length fail silently and immediately without error notification. Running... Kubuntu 17.10 Beta 2 KDE Plasma v5.10.5 KDE Frameworks v5.38.0
...But you *can* write files with more than 255 characters?
Length > 255 doesn't work either, but everything I've tried and failed to create has been in the 180-230 character range for the full path. (Was just trying to bound the problem based on some follow-up questions I'd gotten on Reddit; sorry if it introduced ambiguity.)
I see some commits from way back when guarding against long file paths because of restrictions in ext2 and ext3. Obviously those are no longer relevant for ext4 filesystems.
Are you using disk encryption?
I did indeed encrypt my Home folder (after manually setting root, home, and swap partitions) during the guided Kubuntu setup...
Yeah encfs supports only 190 chars in pathnames.
Sounds like we need to make that clear in the GUI when a user tries it, in addition to supporting efforts to remove that limitation. Can we use this bug to track the former?
Thanks a ton Elvis and Nate -- greatly appreciate it. I'll switch the "Importance" to "Wishlist", I guess; let me know if I should change anything else.
If there is currently a GUI error message when you try to do this in Dolphin, can you attach it to this bug report? At the moment I don't have an encfs filesystem I can test on.
Created attachment 108322 [details] Generic GUI failure pop-up notification Failure that appears when attempting to create a file with path > 190 characters in an Encfs-encrypted Home folder via Dolphin GUI
There you go Nate -- let me know if I can generate anything else of use
Thanks Stephen! Yeah that's a pretty horrid error message, especially in this situation you're going to have a really long path, so it's going to be huge. I think we can take it from here. Thanks for the bug report.
Sounds good -- thanks again!
I think this is more of a KIO issue than Dolphin.