Solved FreeBSD , KDE : Can't copy files to NFS share.

Problem started few days ago after some system updates, can't copy files to NFS share while using KDE Dolphin. I haven't changes any settings and I have no idea where to start looking.

The process: selecting a folder, copying it to the NFS share, and getting "Could not write to /home/username/Music"
Can copy using the terminal.

Any suggestions?
 

Attachments

  • Screenshot 2026-11-02 at 16.56.26.png
    Screenshot 2026-11-02 at 16.56.26.png
    275.8 KB · Views: 69
well, is your user the same numerical UID on the FreeBSD machine as on the NFS server ?
Is the users GID numerically identical ?
DO you have write permission on the directory containing the NFS files ?
If you copy a file locally using Dolphin what permissions and ownership does the copied file have ?
 
well, is your user the same numerical UID on the FreeBSD machine as on the NFS server ?
Is the users GID numerically identical ?
DO you have write permission on the directory containing the NFS files ?
If you copy a file locally using Dolphin what permissions and ownership does the copied file have ?
Yes, UID and GID and identical, I permissions on the directory of the NFS files. As for the ownership, they are for my user and group wheel -rw-r--r--

As mentioned, it started after an update, I haven't changed anything in months regrading permissions.

monwarez, it's not it.
 
Yes, UID and GID and identical, I permissions on the directory of the NFS files. As for the ownership, they are for my user and group wheel -rw-r--r--

As mentioned, it started after an update, I haven't changed anything in months regrading permissions.

monwarez, it's not it.
Root has to mount the nfs service somewhere and take care of access of other users. Dolphin shouldn't have to connect to it or something. The directory should look like all the others and be writable or not.
 
I've set up a test bhyve environment, with a NFS server and client, no issues copying files on the client in dolphin (version 26.08.2_1, from the "latest" package repository) split view to the NFS shared mount. The client doesn't have KDE installed, dolphin in launched from the Icewm window manager.

Can copy using the terminal.
If you can copy files, using a terminal as the same user who's running the dolphin file manager, then this seems not to be a permission problem but a possible problem with dolphin.

Try launching dolphin with a fresh configuration file, e.g.:
Code:
 % /bin/sh
 $ export  XDG_CONFIG_HOME=/tmp/dolphin
 $ export  XDG_DATA_HOME=/tmp/local
 $ dolphin
 
Yes, UID and GID and identical, I permissions on the directory of the NFS files. As for the ownership, they are for my user and group wheel -rw-r--r--

As mentioned, it started after an update, I haven't changed anything in months regrading permissions.

monwarez, it's not it.
So you did update the nfs server to 15.1, and mount the nfs mountpoint with root ?
 
Root has to mount the nfs service somewhere and take care of access of other users. Dolphin shouldn't have to connect to it or something. The directory should look like all the others and be writable or not.
It is only recently that a FreeBSD nfs server would prevent regular user to mount an nfs mount point. Which prevent simple use case where user are allowed to mount stuff, and that you use wireguard as authentification for nfsv4 on with sec=sys.
So before updating the FreeBSD nfs to 15.1 (from lets' say 14), any user could mount the nfs mount point as theirs user and that was it.
Now they can't by default.
 
It is only recently that a FreeBSD nfs server would prevent regular user to mount an nfs mount point. Which prevent simple use case where user are allowed to mount stuff, and that you use wireguard as authentification for nfsv4 on with sec=sys.
So before updating the FreeBSD nfs to 15.1 (from lets' say 14), any user could mount the nfs mount point as theirs user and that was it.
Now they can't by default.
What's the error?
You have to explicitly give other users access to mount_nfs?
 
So, I checked everything I can on the FreeBSD side, I don't know what changed but something changed. I went to the server side and ran zfs get aclmode on my shares and both were restricted, changed to passthrough (zfs set aclmode=passthrough) and now everything works as before.
 
Back
Top