linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* permission denied with >= ~2.6.25
@ 2010-05-10 11:26 Martin Vogt
  2010-05-11 11:02 ` Martin Vogt
  0 siblings, 1 reply; 10+ messages in thread
From: Martin Vogt @ 2010-05-10 11:26 UTC (permalink / raw)
  To: linux-nfs


Hello list,

recently I updated my client to a new vendor kernel(SLES11), but the
problem is the same if I use a 2.6.33.3 as a client.

If I'm doing svn checkouts in an endless loop,
or running make -j X builds sometimes it happens
that I get a "Permision denied" error.

If I strace it, for svn, the following sequence appears:


5262  rename("Kernel.ERWQPsWCA5/.svn/tmp/entries",
"Kernel.ERWQPsWCA5/.svn/entries") = 0
5262  lstat("Kernel.ERWQPsWCA5/.svn/entries", {st_mode=S_IFREG|0666,
st_size=205, ...}) = 0
5262  chmod("Kernel.ERWQPsWCA5/.svn/entries", 0444) = 0
5262  open("Kernel.ERWQPsWCA5/.svn/format.tmp", O_RDWR|O_CREAT|O_EXCL,
0666) = 3
5262  write(3, "9\n", 2)                = 2
5262  close(3)                          = 0


5262  rename("Kernel.ERWQPsWCA5/.svn/format.tmp",
"Kernel.ERWQPsWCA5/.svn/format") = 0
5262  lstat("Kernel.ERWQPsWCA5/.svn/format", 0x7fff79949350) = -1 EACCES
(Permission denied)
^^^^^^^^^^^^ Here

5262  write(2, "svn: Can't change perms of file "..., 83) = 83
5262  lstat("Kernel.ERWQPsWCA5/.svn/log", 0x7fff79949650) = -1 ENOENT
(No such file or directory)
5262  unlink("Kernel.ERWQPsWCA5/.svn/lock") = 0


After a rename, the lstat call fails. I tried to isolate it,
but without any luck so far.

I dont have the problem if I go back to my vendor kernel <= 2.6.22.
I wonder if its more a NFS Server problem or a problem on the client
side so I tried writing a C programm to trigger this behaviour.
But without any success so far.

Maybe this problem is already known?


regards,

Martin

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-05-25  8:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-10 11:26 permission denied with >= ~2.6.25 Martin Vogt
2010-05-11 11:02 ` Martin Vogt
2010-05-14  9:56   ` Martin Vogt
2010-05-16 17:52     ` Martin Vogt
     [not found]       ` <20100516175213.GA9225-DA0fgfH9LvLH7LAFlePENYQuADTiUCJX@public.gmane.org>
2010-05-18  8:34         ` Martin Vogt
2010-05-19 11:12           ` Martin Vogt
2010-05-19 17:13             ` J. Bruce Fields
2010-05-20  9:28               ` Martin Vogt
2010-05-21 17:39                 ` J. Bruce Fields
2010-05-25  8:14                   ` Martin Vogt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).