Re: [nfsv4] open(O_CREAT) returns EEXISTS on symbolic link created on another system until stat()ed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2012-03-29 at 16:28 +0000, Orion Poplawski wrote:
> I filed a bug here: https://bugzilla.redhat.com/show_bug.cgi?id=808112
> 
> Description of problem:
> 
> client A:
> touch blah
> ln -s blah blahlink
> 
> client B:
> open("blahlink", O_RDONLY|O_CREAT, 0666) = -1 EEXIST (File exists)

That sounds more like a server bug. It shouldn't be replying
NFS4ERR_EXIST here, since this isn't an exclusive create; it should
rather be replying with NFS4ERR_SYMLINK.

Which server are you testing against, and what does the wireshark trace
show?

-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@xxxxxxxxxx
www.netapp.com

��.n��������+%������w��{.n�����{��w���jg��������ݢj����G�������j:+v���w�m������w�������h�����٥



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux