No write permission on automounted disks

Asked by Claudius

Hello,
I have two hosts, clsproj1 and clsproj2.
clsproj2 exports /backup that is auto-mounted by clsproj1.
The files on clsproj2 belong to root.

The volume is actually mounted, and the files can be listed by root on clsproj1.
So far it works.

The problem now is, that the files cannot be deleted, there is no write permission.

Installation nfs-config and enabling write permission on external ntfs volumes didn't change the problem.

Some file dumps:

clsproj2:/etc/exports:
/backup clsproj1(rw,sync)

clsproj1:/etc/auto.mnt:
backup rw,soft,intr,rsize=8192,wsize=8192,nosuid,tcp clsproj2:/backup

clsproj1 runs efty, clsproj2 hardy, but the problem exists in the reverse direction too.

Any suggestions are welcome. Thank you in advance.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Claudius
Solved:
Last query:
Last reply:
Revision history for this message
Claudius (schnoerr) said :
#1

In the meanwhile I found the solution in another forum
The volumes have to be exported with the no_root_squash option, e.g.
/backup clsproj1(rw,sync,no_root_squash)