1 |
I'm not that familiar with nfs usage ... only used lightly a few |
2 |
times. |
3 |
|
4 |
I have an opensolaris nfs server serving a share to my gentoo box. |
5 |
|
6 |
The mount point is set as owner:group of my user (reader). |
7 |
|
8 |
Also has the set-gid bit set. |
9 |
|
10 |
ls -ld /projects |
11 |
drwxr-sr-x 2 reader wheel 48 Jun 24 07:08 /projects |
12 |
|
13 |
And the mount settings in /etc/fstab |
14 |
(zfs is the hostname of the opensolaris server) |
15 |
|
16 |
zfs:/projects /projects nfs noauto,users,exec,dev 0 0 |
17 |
|
18 |
With those settings my user or root can mount it. |
19 |
|
20 |
When its mounted the permissions change to this: |
21 |
|
22 |
ls -ld /projects |
23 |
drwxr-sr-x+ 13 reader man 14 Jul 25 09:47 /projects |
24 |
|
25 |
Whats with the `man' group? |
26 |
|
27 |
Also, when mounted I find when I try to copy somethihng with the -a |
28 |
option, which tries to maintain any permission settings. It causes an |
29 |
error warning... (although the copy is done). |
30 |
|
31 |
cp -a file file1 |
32 |
cp: preserving permissions for `file1': Operation not supported |
33 |
|
34 |
And the files permissions end up: |
35 |
ls -l file* |
36 |
-rw-r--r--+ 1 reader man 223962 Jul 26 15:56 file |
37 |
-rw-r--r--+ 1 reader reader 223962 Jul 26 15:56 file1 |
38 |
|
39 |
Is there some way to set it up so that permissions can be copied? |
40 |
Also to alow the set-gid setting to work? |