public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Orion Poplawski <orion@cora.nwra.com>
To: linux-nfs@vger.kernel.org
Subject: locking and setgid files
Date: Thu, 9 Sep 2010 21:15:51 +0000 (UTC)	[thread overview]
Message-ID: <loom.20100909T231305-758@post.gmane.org> (raw)

Is this expected?

$ ls -l /data/sw/svn/dombroski/supergran_paper/db/txn-current-lock
-rw-rwSr--. 1 dombroski superg    0 Aug 30 16:27 txn-current-lock

$ id
uid=6412(aaronb) gid=1001(cora) groups=1001(cora),1041(superg)
context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023

open("/data/sw/svn/dombroski/supergran_paper/db/txn-current-lock", O_RDWR) = 3
fcntl64(3, F_GETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0,
pid=10771680}) = -1 ENOLCK (No locks available)

I guess I could somewhat understand it, though the fcntl64() call succeeds on
the server (CentOS 5.5).


             reply	other threads:[~2010-09-09 21:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-09 21:15 Orion Poplawski [this message]
2010-09-09 21:43 ` locking and setgid files Trond Myklebust

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=loom.20100909T231305-758@post.gmane.org \
    --to=orion@cora.nwra.com \
    --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