Bug 400293 - REGRESSION: NFS root folder not writable with 18.08.2 because NFS ioslave claims root item isn't writable
Summary: REGRESSION: NFS root folder not writable with 18.08.2 because NFS ioslave cla...
Status: RESOLVED DUPLICATE of bug 387936
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: NFS (show other bugs)
Version: 18.08.2
Platform: Arch Linux Linux
: HI normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: regression
: 429835 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-10-25 14:11 UTC by gbillios
Modified: 2021-05-07 19:46 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gbillios 2018-10-25 14:11:08 UTC
SUMMARY
After upgrading to 18.08.2 I'm getting the same behavior as described in bug 387936

https://bugs.kde.org/show_bug.cgi?id=387936

the root folder of a NFS mount is not writable from Dolphin while I can write to it from the shell
Downgrading to 18.08.1 fixes this


STEPS TO REPRODUCE
1. Upgrade to 18.08.2 
2. Access the root folder of a NFS share your user has RW access to
3. Try to create a folder

OBSERVED RESULT
Dolphin doesn't give the option to create a folder 

EXPECTED RESULT
Be able to create a folder

SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 5.51.0
Qt Version: 5.11.2 

dolphin 18.08.2
dolphin-plugins 18.08.2


 

ADDITIONAL INFORMATION

I've first downgraded the kio and kio-extras but that produced no result. Only after downgrading dolphin and dolphin-plugins did it resolve the issue
Comment 1 Elvis Angelaccio 2018-10-27 09:42:15 UTC
Moving to kio-extras, the nfs ioslave probably claims the KFileItem is not writable.

The bug is probably exposed by https://cgit.kde.org/dolphin.git/commit/?h=Applications/18.08&id=5e8b892a519b8d1fef58a747fafb5846b7fa3492

(It was working in 18.08.1 just by luck, because we were always enabling the create_dir action).
Comment 2 Nate Graham 2018-10-31 19:00:30 UTC
Yep, that makes perfect sense, Elvis.
Comment 3 gbillios 2018-12-18 13:56:49 UTC
So is anyone working on this ? Does it make sense to test with 18.12 ?
Comment 4 gbillios 2019-06-05 13:44:24 UTC
The issue is still present on version 19.04.1
Comment 5 Sebastian Schubert 2020-08-07 13:11:47 UTC
I can reproduce the issue. However, are you sure that this issue is connected to  a KDE component? Testing if the main mounted folder is writable in bash with

   $ if [ -w `pwd` ]; then echo "WRITABLE"; else echo "NOT WRITABLE"; fi
   NOT WRITABLE

or in Python with

   $ python3
   >>> import os
   >>> os.access('.', os.W_OK)
   False

indicates that the mounted main folder is not writeable although one can actually write into it.

By chance, do you use a Synology device? I do and I found also some other post of Synology users having the same issue. Could be coincidence, though...
Comment 6 Nate Graham 2020-12-01 17:13:24 UTC
*** Bug 429835 has been marked as a duplicate of this bug. ***
Comment 7 Piotr Mierzwinski 2020-12-29 22:09:41 UTC
In bug 429835 I reported issue with rename of file, which I able to rename in mc but not in Dolphin. And just I would like to add that I also use Synology, which means that my nfs resource is present in Synology server.
Comment 8 Jonathan Marten 2021-02-05 21:01:32 UTC
Is this actually using the NFS ioslave (via a URL starting "nfs://serverhost/"), or a locally mounted NFS filesystem?  If it is the latter then it is handled via the file ioslave in the same way as any other local file, and the appropriate component is either frameworks-kio or dolphin.
Comment 9 Piotr Mierzwinski 2021-02-07 01:07:08 UTC
(In reply to Jonathan Marten from comment #8)
> Is this actually using the NFS ioslave (via a URL starting
> "nfs://serverhost/"), or a locally mounted NFS filesystem?  If it is the
> latter then it is handled via the file ioslave in the same way as any other
> local file, and the appropriate component is either frameworks-kio or
> dolphin.

In my case, so Bug 429835  this was locally mounted NFS filesystem (by "mount -t nfs" command).
I open such mounted directory in Dolphin. The issue was that in Dolphin I could not rename file whilst I was able to do it in mc, just because Dolphin says 'no write permission'.
Comment 10 Jonathan Marten 2021-02-08 16:08:54 UTC
Thanks for the confirmation.  If it refers to shell access then it must be an NFS mount, not the ioslave.

*** This bug has been marked as a duplicate of bug 387936 ***
Comment 11 Nate Graham 2021-05-07 19:46:01 UTC
*** Bug 436689 has been marked as a duplicate of this bug. ***