linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Martin Vogt <martin.vogt@itwm.fraunhofer.de>
To: linux-nfs@vger.kernel.org
Subject: permission denied with >= ~2.6.25
Date: Mon, 10 May 2010 13:26:21 +0200	[thread overview]
Message-ID: <4BE7ED5D.90801@itwm.fraunhofer.de> (raw)


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

             reply	other threads:[~2010-05-10 11:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-10 11:26 Martin Vogt [this message]
2010-05-11 11:02 ` permission denied with >= ~2.6.25 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BE7ED5D.90801@itwm.fraunhofer.de \
    --to=martin.vogt@itwm.fraunhofer.de \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).