From: Harry Putnam <reader@newsguy.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] [nfs] nfs mount settings
Date: Sun, 26 Jul 2009 20:18:34 -0500 [thread overview]
Message-ID: <87tz0y7wk5.fsf@newsguy.com> (raw)
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
And the mount settings in /etc/fstab
(zfs is the hostname of the opensolaris server)
zfs:/projects /projects nfs noauto,users,exec,dev 0 0
With those settings my user or root can mount it.
When its mounted the permissions change to this:
ls -ld /projects
drwxr-sr-x+ 13 reader man 14 Jul 25 09:47 /projects
Whats with the `man' group?
Also, when mounted I find when I try to copy somethihng with the -a
option, which tries to maintain any permission settings. It causes an
error warning... (although the copy is done).
cp -a file file1
cp: preserving permissions for `file1': Operation not supported
And the files permissions end up:
ls -l file*
-rw-r--r--+ 1 reader man 223962 Jul 26 15:56 file
-rw-r--r--+ 1 reader reader 223962 Jul 26 15:56 file1
Is there some way to set it up so that permissions can be copied?
Also to alow the set-gid setting to work?
next reply other threads:[~2009-07-27 1:19 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-27 1:18 Harry Putnam [this message]
2009-07-27 7:17 ` [gentoo-user] [nfs] nfs mount settings 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 ` [gentoo-user] " Dirk Heinrichs
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=87tz0y7wk5.fsf@newsguy.com \
--to=reader@newsguy.com \
--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