Jan Engelhardt:
> 12:40 shanghai:/home/jengelh # mount lo:/home/Video /mnt -t nfs
> 12:40 shanghai:/home/jengelh # cd /mnt/
> 12:40 shanghai:/mnt # touch it
> touch: cannot touch `it': Read-only file system

You exported /home/Video as readonly on nfs server lo, and mount it
readwrite. correct?
Can you "touch it" on nfs server locally?


> You said it returns EACCES?

Martin Walter traced touch(1) and found open(O_WRONLY) failed by EACCES.

(quoted from an old mail)
> Date: Fri Oct 14 14:03:35 2005
> Subject: [Unionfs] 2.6.13-15-smp + unionfs-20051013-1721: Permission denied
        :::
> The touch command seems to open a file with O_WRONLY and fails
> but then it does utimes("file",0).
> 
> utimes seems to cause a copyup so the next time open with O_WRONLY succeeds.
        :::
> open("/b/b", O_WRONLY)                  = -1 EACCES (Permission denied)
> utimes("/b/b", NULL)                    = 0


Junjiro Okajima
_______________________________________________
unionfs mailing list
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs

Reply via email to