mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: Bernd Eckenfels <ecki@lina.inka.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: nfs insecure_locks / Tru64 behaviour
Date: Fri, 23 Dec 2005 21:58:40 +0100	[thread overview]
Message-ID: <1135371520.8555.2.camel@lade.trondhjem.org> (raw)
In-Reply-To: <E1EprNK-0005ZC-00@calista.inka.de>

On Fri, 2005-12-23 at 19:10 +0100, Bernd Eckenfels wrote:
> In article <20051223013933.GB22949@mtholyoke.edu> you wrote:
> > That's exactly the problem.  The first obvious solution doesn't work.
> > Your second solution does.  The directory must have the execute bit set
> > for other, or the the file cannot be edited, no matter who owns the
> > directory (unless the owner/group is nobody/nogroup).
> 
> Is it a edit problem or a directory-enter problem (i.e. can you do a "cd d"?).
> 
> Is it a general file access problem or only with vi (i.e. can do "echo bla >> file")
> 
> If it is a vi specific problem maybe the locking is the problem:
> 
> The insecure_locks on Linux server is  needed, cause Linux NFS Server will
> serve lock requests normally only from root users, and True64 requests from
> unpriveledged daemon user. This means fctnl locking cannot be done, and this
> might be a problem for vi.

Huh? No it doesn't. The Linux NLM server requires that the client
authenticate using AUTH_SYS (unless you use insecure_locks), but it
certainly doesn't require you to have root privileges. That would
violate POSIX locking rules.

Cheers,
  Trond


  reply	other threads:[~2005-12-23 20:58 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-22 13:36 Ron Peterson
2005-12-22 23:21 ` Trond Myklebust
2005-12-23  1:39   ` Ron Peterson
2005-12-23  1:45     ` Trond Myklebust
2005-12-23  2:21       ` Ron Peterson
2005-12-23  2:32         ` Ron Peterson
2005-12-23  8:37         ` Trond Myklebust
2005-12-23 13:38           ` Ron Peterson
2005-12-23 13:50             ` Trond Myklebust
2005-12-23 14:39               ` Ron Peterson
2005-12-23 15:00                 ` Trond Myklebust
2005-12-23 18:10     ` Bernd Eckenfels
2005-12-23 20:58       ` Trond Myklebust [this message]
2005-12-23 21:41         ` Bernd Eckenfels
2005-12-23 22:00           ` 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=1135371520.8555.2.camel@lade.trondhjem.org \
    --to=trond.myklebust@fys.uio.no \
    --cc=ecki@lina.inka.de \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®