https://bugs.kde.org/show_bug.cgi?id=523816
Bug ID: 523816
Summary: Cannot copy, cut, paste on NFS mounted directories
Classification: Applications
Product: dolphin
Version First 26.04.3
Reported In:
Platform: CachyOS
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
DESCRIPTION
I cannot copy, cut or paste files on NFS mounted directories when my user's
main group does not have the same gid as the group that owns the files on the
NFS mount.
This happens with a Synology NAS where I have a few shared directories with NFS
enabled on the NAS, and then I mounted these on my CachyOS laptop.
STEPS TO REPRODUCE
1. On a Synology NAS, create a directory, DIR_A and put a file FILE_A in it.
This should set the permissions to id-of-your-user and gid 100 on the nas. 100
is the default `users` group on Synology. Your user's id should be greater than
1024 because that's how Synology assigns new user ids, only over 1024. We'll go
with 1027:100 for this example.
2. Have a computer where your user's ID is not 1027 and your main GID is not
100. We'll go with 1000:1000 for this example, so id 1000, gid 1000.
3. `groupadd -g 100 syno-users` on the laptop to create a group with id 100
4. `usermod -aG syno-users [your-user-name]` to add yourself to the new
syno-users group
5. Open a terminal, navigate to /mnt/.../DIR_A
6. Try: `mv FILE_A FILE_B`
7. Try: `mkdir DIR_B`
8. Steps 6 and 7 will work from the terminal just fine
9. Open Dolphin, navigate to DIR_A and try to Ctrl+x, Ctrl+c, Ctrl+v
OBSERVED RESULT
1. Ctrl+x causes a banner saying: Cannot cut: You do not have permission to
move items from this folder.
2. Ctrl+c works normally
3. Ctrl+v causes a banner saying: Cannot paste: You do not have permission to
write into this folder.
EXPECTED RESULT
1. Ctrl+x, Ctrl+v should both work because the user is in group syno-users
(100), therefore it should have the same access in Dolphin as there is in the
terminal
SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a
terminal window):
Operating System: CachyOS Linux
KDE Plasma Version: 6.7.3
KDE Frameworks Version: 6.28.0
Qt Version: 6.11.1
Kernel Version: 7.1.4-1-cachyos (64-bit)
Graphics Platform: Wayland
ADDITIONAL INFORMATION
File permissions, as seen in the terminal on my laptop in the mounted dir:
Permissions Size User Date Modified Name
drwxrwxrwx - my-username 3 aug 17:19 .
drwxrwxrwx - 1026 3 aug 17:18 ..
.rwxrwxrwx 26M 1027 22 oct 2022 'Lemons and
Limes.jpg'
.rwxrwxrwx 797k 1027 22 oct 2022 'Lemons and
Limes.web1080.jpg'
Relevant mount files:
❯ cat /etc/systemd/system/mnt-NAS920_Photography.mount
[Unit]
Description=NFS 920 Photography
After=network-online.target
Wants=network-online.target
[Mount]
What=192.168.33.222:/volume1/Photography
Where=/mnt/NAS920_Photography
Type=nfs4
Options=noexec,nosuid,nodev,vers=4.1,nofail,soft,timeo=5,retrans=4,noatime,nodiratime,rsize=1048576,wsize=1048576,nconnect=4
[Install]
WantedBy=multi-user.target
❯ cat /etc/systemd/system/mnt-NAS920_Photography.automount
[Unit]
Description=Automount NAS920 Photography
After=network-online.target
[Automount]
Where=/mnt/NAS920_Photography
TimeoutIdleSec=300
[Install]
WantedBy=multi-user.target
--
You are receiving this mail because:
You are watching all bug changes.