public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Dirk Heinrichs <dirk.heinrichs@online.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user]  [nfs] nfs mount settings
Date: Mon, 27 Jul 2009 09:55:52 +0200	[thread overview]
Message-ID: <200907270955.56663.dirk.heinrichs@online.de> (raw)
In-Reply-To: <87tz0y7wk5.fsf@newsguy.com>

[-- Attachment #1: Type: text/plain, Size: 986 bytes --]

Am Montag 27 Juli 2009 03:18:34 schrieb Harry Putnam:
> I'm not that familiar with nfs usage ... only used lightly a few
> times.
>
> I have an opensolaris nfs server serving a share to my gentoo box.
>
> The mount point is set as owner:group  of my user (reader).
>
> Also has the set-gid bit set.
>
> ls -ld /projects
> drwxr-sr-x 2 reader wheel 48 Jun 24 07:08 /projects

BTW: The permissions of the mount point don't matter since they can be 
different after the directory has been mounted. So I guess the set-gid only 
needs to be set on the exported directory. In fact, I would set the 
permissions of the mount point so that it's only writable by root so that 
ordinary users can't write to it while it's unmounted (a later mount would 
make those files invisible for as long as the directory is mounted).

And finally: Using the kernel automounter (autofs) avoids
1) the need for the users option
2) users forgetting to mount the thing

Bye...

	Dirk

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 190 bytes --]

      parent reply	other threads:[~2009-07-27  7:56 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-27  1:18 [gentoo-user] [nfs] nfs mount settings Harry Putnam
2009-07-27  7:17 ` Alan McKinnon
2009-07-27 14:40   ` [gentoo-user] " Harry Putnam
2009-07-27 20:39     ` Alan McKinnon
2009-07-28  1:20       ` Harry Putnam
2009-07-28  7:39   ` [gentoo-user] " Alex Schuster
2009-07-28  8:01     ` Alan McKinnon
2009-07-28 12:06       ` Alex Schuster
2009-07-27  7:32 ` Stroller
2009-07-27 14:47   ` [gentoo-user] " Harry Putnam
2009-07-27 20:28     ` Alan McKinnon
2009-07-27  7:55 ` Dirk Heinrichs [this message]

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=200907270955.56663.dirk.heinrichs@online.de \
    --to=dirk.heinrichs@online.de \
    --cc=gentoo-user@lists.gentoo.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