1 |
Alan McKinnon <alan.mckinnon@×××××.com> writes: |
2 |
|
3 |
> There is nothing much you can do about this except: |
4 |
> |
5 |
> Renumber your gid's locally to match the nfs server, |
6 |
> or renumber the nfs share gids to match your local machine |
7 |
|
8 |
Looking into that I noticed, as you thought the gid of the share on |
9 |
solaris is alphabetic wheel but numeric 15. Which is the gid of |
10 |
`man' on gentoo. |
11 |
|
12 |
But I noticed the gid 16 is not taken on the gentoo os so promoted man |
13 |
to gid 16 and changed wheel from 10 to 15. |
14 |
|
15 |
Logging my user out and back in I see the gid 15 now is wheel so the |
16 |
same as solaris. |
17 |
|
18 |
Having my user mount the nfs ... it ends up `reader:wheel'. Both are |
19 |
my users uid and one of his gids so now both the uid and gid match |
20 |
those on the solaris OS where user reader:wheel owns the source |
21 |
directory. (also /projects on solaris box). |
22 |
|
23 |
But with all that in place.... a copy using `-a' still causes the the |
24 |
same error warning. |
25 |
|
26 |
ls -l /projects/it |
27 |
-rw-r--r--+ 1 reader wheel 0 Jul 27 09:17 /projects/it |
28 |
|
29 |
cp -a /projects/it /projects/it2 |
30 |
cp: preserving permissions for `/projects/it2': |
31 |
Operation not supported |
32 |
|
33 |
ls -l /projects/it2 |
34 |
-rw-r--r--+ 1 reader wheel 0 Jul 27 09:17 /projects/it2 |
35 |
|
36 |
============================================== |
37 |
|
38 |
user reader (on gentoo) running command id -a |
39 |
uid=1000(reader) gid=1000(reader) groups=15(wheel),16(man), |
40 |
250(portage),1000(reader) |
41 |
|
42 |
user reader (on solaris) running command id -a |
43 |
uid=1000(reader) gid=10(staff) groups=10(staff),3(sys),4 |
44 |
(adm),15(wheel) |
45 |
|
46 |
============================================== |
47 |
|
48 |
And the nfs source directory is also set-gid (by user reader) |
49 |
ls -ld /projects (on solaris server) |
50 |
drwxr-sr-x 14 reader wheel 17 2009-07-27 09:29 /projects |