public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  [nfs] nfs mount settings
@ 2009-07-27  1:18 Harry Putnam
  2009-07-27  7:17 ` Alan McKinnon
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Harry Putnam @ 2009-07-27  1:18 UTC (permalink / raw
  To: gentoo-user

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?




^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2009-07-28 12:06 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [gentoo-user] " Dirk Heinrichs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox