From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MVRO9-0000Kl-D0 for garchives@archives.gentoo.org; Mon, 27 Jul 2009 14:41:17 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 74662E03D4; Mon, 27 Jul 2009 14:41:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 56339E03D4 for ; Mon, 27 Jul 2009 14:41:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id EBB1266E22 for ; Mon, 27 Jul 2009 14:41:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -3.998 X-Spam-Level: X-Spam-Status: No, score=-3.998 required=5.5 tests=[AWL=-0.399, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4UFu56I-TEOj for ; Mon, 27 Jul 2009 14:41:08 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 9C99566E45 for ; Mon, 27 Jul 2009 14:41:06 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MVRNs-00065X-GO for gentoo-user@gentoo.org; Mon, 27 Jul 2009 14:41:00 +0000 Received: from c-98-215-178-110.hsd1.in.comcast.net ([98.215.178.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Jul 2009 14:41:00 +0000 Received: from reader by c-98-215-178-110.hsd1.in.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Jul 2009 14:41:00 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Harry Putnam Subject: [gentoo-user] Re: [nfs] nfs mount settings Date: Mon, 27 Jul 2009 09:40:43 -0500 Organization: Still searching... Message-ID: <87my6q6vf8.fsf@newsguy.com> References: <87tz0y7wk5.fsf@newsguy.com> <200907270917.02469.alan.mckinnon@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-98-215-178-110.hsd1.in.comcast.net User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.96 (gnu/linux) Cancel-Lock: sha1:bbBTdX1mgTs+V3iqC2zKNFAwFd8= Sender: news X-Archives-Salt: 89bf07ca-4f05-48b5-a58d-9775e697b589 X-Archives-Hash: 30a941e81047afd614f7b67a2db0513a Alan McKinnon writes: > There is nothing much you can do about this except: > > Renumber your gid's locally to match the nfs server, > or renumber the nfs share gids to match your local machine Looking into that I noticed, as you thought the gid of the share on solaris is alphabetic wheel but numeric 15. Which is the gid of `man' on gentoo. But I noticed the gid 16 is not taken on the gentoo os so promoted man to gid 16 and changed wheel from 10 to 15. Logging my user out and back in I see the gid 15 now is wheel so the same as solaris. Having my user mount the nfs ... it ends up `reader:wheel'. Both are my users uid and one of his gids so now both the uid and gid match those on the solaris OS where user reader:wheel owns the source directory. (also /projects on solaris box). But with all that in place.... a copy using `-a' still causes the the same error warning. ls -l /projects/it -rw-r--r--+ 1 reader wheel 0 Jul 27 09:17 /projects/it cp -a /projects/it /projects/it2 cp: preserving permissions for `/projects/it2': Operation not supported ls -l /projects/it2 -rw-r--r--+ 1 reader wheel 0 Jul 27 09:17 /projects/it2 ============================================== user reader (on gentoo) running command id -a uid=1000(reader) gid=1000(reader) groups=15(wheel),16(man), 250(portage),1000(reader) user reader (on solaris) running command id -a uid=1000(reader) gid=10(staff) groups=10(staff),3(sys),4 (adm),15(wheel) ============================================== And the nfs source directory is also set-gid (by user reader) ls -ld /projects (on solaris server) drwxr-sr-x 14 reader wheel 17 2009-07-27 09:29 /projects