From owner-freebsd-fs@FreeBSD.ORG Fri Jul 25 04:18:50 2014 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8F4023E3 for ; Fri, 25 Jul 2014 04:18:50 +0000 (UTC) Received: from mail-pa0-x231.google.com (mail-pa0-x231.google.com [IPv6:2607:f8b0:400e:c03::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6B69E2D79 for ; Fri, 25 Jul 2014 04:18:50 +0000 (UTC) Received: by mail-pa0-f49.google.com with SMTP id hz1so5276620pad.36 for ; Thu, 24 Jul 2014 21:18:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=7XSlpBxws1xlhaF++VjewgkToQe6QrFFer88qIwCVc8=; b=ySJjmRlhxgrCmxSZNfVt0adVvd0lQFBp/aS6kYgE4TBn6djgiDYlZPp5nm3uoeVkAr IhcmTYwN4KHJaJwdI6rd6eATXJueGYxV94g9BxcDggIuiRMZGKYAGoMwnCBjoADFj5Q2 R2595SD7Ckfu+tQNzbRoRSf44eyqdmnd1rPARV06xkH3Gtfr7mGf93fppqDzWJxLR71L z5QkqfMQP/5Oig8XLKQlKqrUdBoWv7s6uhJsicmCDUQ96CwHrL0DXJ3xhWIPKN3iwPUe 30AR4WBBRuvvo8yprA4ay902E+UIQZoYRe5Pgyf4WsBMI+N29jD5mFad5qYaERxAOB0w I70w== MIME-Version: 1.0 X-Received: by 10.70.38.134 with SMTP id g6mr15686876pdk.135.1406261929897; Thu, 24 Jul 2014 21:18:49 -0700 (PDT) Sender: jdavidlists@gmail.com Received: by 10.70.22.34 with HTTP; Thu, 24 Jul 2014 21:18:49 -0700 (PDT) Date: Fri, 25 Jul 2014 00:18:49 -0400 X-Google-Sender-Auth: ao8S-hi8PFgzKKZy4VbWpPcQG3c Message-ID: Subject: FreeBSD NFS client vs. Linux server From: J David To: "freebsd-fs@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jul 2014 04:18:50 -0000 Hello, We observed the following odd behavior on a FreeBSD 9.2 client connected to a Linux NFS server. Basically, the FreeBSD user's additional group memberships are not being honored: $ ls -l -rw-rw---- 1 test2 test2 19188391 Jul 25 03:53 error_log $ id -a uid=123(test1) gid=123 groups=123,456(test2) $ tail -1 error_log tail: error_log: Permission denied $ touch x $ ls -l x -rw-rw-r-- 1 test1 test1 0 Jul 25 03:54 x $ chgrp test2 x chgrp: x: Operation not permitted This is just NFSv3. The FreeBSD client mounts with only the nosuid option. The Linux server's export options are rw,async,no_subtree_check. Does anyone what's going on here? The same test works fine with FreeBSD<->FreeBSD and Linux<->Linux. Unfortunately I can't figure out if this is on the FreeBSD side, the Linux side, or (most likely) just a config error on my part. Thanks for any pointers!