Summary: | WebDav - Cannot rename or delete files when special characters in the path | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | Musikolo <musikolo> |
Component: | WebDAV | Assignee: | David Faure <faure> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | elvis.angelaccio, kdelibs-bugs, nate, simonandric5 |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Musikolo
2016-11-29 04:48:10 UTC
Does it work with kioclient5? From a konsole, run: kioclient5 move 'src' 'dest' Hi Elvis, I've further looked into the issue and find out more information. The error I get it's still occurring but the cause it's slightly different to what I thought. If I copy or move a file which name is having vowels with accents, the operation completes successfully. When I try to rename the file, this is what I get: A) If I rename the file removing all accents, the operation succeeds. B) If I rename the file keeping one or more accents, the operation fails with an error message that says "Access was denied while attempting to move the specified file or folder." After that I can delete the file renamed in A) seamlessly. However, if try to delete the file renamed in B), I get an error that says "The file or folder webdavs://mysesrver/remote.php/webdav/adiós.txt does not exist." The problem here is not related to the delete operation. The real issue is that after the error, dolphin shows the file as successfully renamed and, when I try to delete the file with the new name, the operation obviously fails because the naming never happened. If I refresh and retry, I can successfully delete such a file file. From command line, the same happens: [me@MyPC tmp]$ kioclient5 copy 'a.txt' 'webdavs://myserver/remote.php/webdav/' [me@MyPC tmp]$ kioclient5 move 'webdavs://myserver/remote.php/webdav/a.txt' 'webdavs://myserver/remote.php/webdav/b.txt' [me@MyPC tmp]$ kioclient5 move 'webdavs://myserver/remote.php/webdav/b.txt' 'webdavs://myserver/remote.php/webdav/bá.txt' "Access was denied while attempting to move the specified file or folder." [me@MyPC tmp]$ kioclient5 move 'webdavs://myserver/remote.php/webdav/b.txt' 'webdavs://myserver/remote.php/webdav/ba.txt' [me@MyPC tmp]$ kioclient5 ls 'webdavs://cubox.ddns.net/remote.php/webdav/' | grep ba.txt ba.txt [me@MyPC tmp]$ So to sum up, the only issue we have is at renaming a file with accents. Everything else is fine. Maybe dolphin should be updated to refresh the file names even after an error occurs when renaming to prevent other operations to fails afterwards. I hope this helps and the issue gets fixed shortly. Thank you! Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version? If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you! (In reply to Justin Zobel from comment #3) > Thank you for reporting this issue in KDE software. As it has been a while > since this issue was reported, can we please ask you to see if you can > reproduce the issue with a recent software version? > > If you can reproduce the issue, please change the status to "REPORTED" when > replying. Thank you! Hi Justin, No, the issue is no longer occurring. I can now copy files with special characters, rename and delete them. I think the issue is gone, so I'm updating the status accordingly. Please let me know if anything else is needed. Thanks. |