>> 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?

Yes. But it also returns -EROFS if I explicitly add -o ro. (BTW, lo => 
localhost)

>Can you "touch it" on nfs server locally?

Well yes :)


>> 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


>(from the first mail)
>problem to write to a rw-branch with an underlying
>ro-nfs filesystem

I cannot reproduce it with 1.1.1. Already fixed?


Jan Engelhardt
-- 
| Alphagate Systems, http://alphagate.hopto.org/
| jengelh's site, http://jengelh.hopto.org/
_______________________________________________
unionfs mailing list
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs

Reply via email to