Hello, I've mounted an nfs share, I can read the files on it but I can't modify it or create new files, despite having rw.
I've also tried without nfs share, locally but I had the same problem.
So here are my config files :
Server : /etc/exports
/test1 192.168.43.81(rw)
Client : /etc/auto.master
/nfs /etc/auto.nfs --ghost
/etc/auto.nfs
server -fstype=nfs,rw 192.168.43.113:/test1
touch /nfs/server/test
touch: setting times of '/nfs/server/' : Permission denied
SELinux is on permissive, firewalld has nfs in the list.
Sorry that's my first post.
Thanks a lot for the help.
Autofs permission denied
Re: Autofs permission denied
Which user is writing?
Re: Autofs permission denied
I tried with root (I know, root_squash etc...) and also with a normal user.
But even when I tried without nfs, on my local computer I had the same problem, I've no idea why.
But even when I tried without nfs, on my local computer I had the same problem, I've no idea why.
Re: Autofs permission denied
What are the file permissions on the Server on /test1 ?
Re: Autofs permission denied
All right more upgrades :
Server side : Normal users cannot create files on the directory despite chown and chmod 777 on the directory.
Root can create and modify.
Client side : I made a mistake, I was trying to modify root's files with normal users OR root's files with root (But without no_root_squash).
Normal users can modify if they own the file (Normal).
NFS problem I guess, why normal users cannot create files in the directory, server side?
______________________________
I've resolved the problem on my local Autofs, there was a mistake in my path.
Thanks for the help.
Server side : Normal users cannot create files on the directory despite chown and chmod 777 on the directory.
Root can create and modify.
Client side : I made a mistake, I was trying to modify root's files with normal users OR root's files with root (But without no_root_squash).
Normal users can modify if they own the file (Normal).
NFS problem I guess, why normal users cannot create files in the directory, server side?
______________________________
I've resolved the problem on my local Autofs, there was a mistake in my path.
Thanks for the help.