fuse-nfs icon indicating copy to clipboard operation
fuse-nfs copied to clipboard

Not able to write to mounted system

Open PediatricsIT opened this issue 2 years ago • 1 comments
trafficstars

I am using fuse-nfs to mount NFS version 4 shares in an Apptainer container running on Rocky Linux 8. I can read the data on mounted directory but cannot write. The remote file server is running CentOS 6 and has this line in /etc/exports:

/data1 10.11.12.13(rw,no_root_squash,sync,insecure)

On the container I am running this command:

fuse-nfs -a -n "nfs://172.28.50.50/data1/?version=4" -m /data1

All the mounted directories are shown as being owned by root : root , but even if the directory permission is 777 it is not writable.

PediatricsIT avatar Feb 09 '23 00:02 PediatricsIT

You can enable other users by uncommenting user_allow_other in the /etc/fuse.conf file to enable write access.

aagi-girish avatar Feb 13 '24 07:02 aagi-girish

answered

sahlberg avatar Feb 25 '25 08:02 sahlberg