From owner-freebsd-questions@FreeBSD.ORG Thu Feb 7 18:15:14 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B519616A420 for ; Thu, 7 Feb 2008 18:15:14 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from mail-out3.apple.com (mail-out3.apple.com [17.254.13.22]) by mx1.freebsd.org (Postfix) with ESMTP id 9A97913C4E5 for ; Thu, 7 Feb 2008 18:15:14 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from relay13.apple.com (relay13.apple.com [17.128.113.29]) by mail-out3.apple.com (Postfix) with ESMTP id 910702078724; Thu, 7 Feb 2008 10:15:14 -0800 (PST) Received: from relay13.apple.com (unknown [127.0.0.1]) by relay13.apple.com (Symantec Mail Security) with ESMTP id 6E6D02808B; Thu, 7 Feb 2008 10:15:14 -0800 (PST) X-AuditID: 1180711d-9cbecbb000001e9b-60-47ab4ab20c33 Received: from cswiger1.apple.com (cswiger1.apple.com [17.214.13.96]) by relay13.apple.com (Apple SCV relay) with ESMTP id 3D2C72808F; Thu, 7 Feb 2008 10:15:14 -0800 (PST) Message-Id: From: Chuck Swiger To: Pietro Cerutti In-Reply-To: <47AB48CF.1020804@gahr.ch> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Date: Thu, 7 Feb 2008 10:15:13 -0800 References: <47AB48CF.1020804@gahr.ch> X-Mailer: Apple Mail (2.915) X-Brightmail-Tracker: AAAAAA== Cc: User Questions Subject: Re: cp -p X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Feb 2008 18:15:14 -0000 On Feb 7, 2008, at 10:07 AM, Pietro Cerutti wrote: > here's the situation: > > HostServer exports via NFS /www, which belongs to user:www > (uid=1001, gid=80). The directory has the segid flag set: > > drwsr-xr-x 13 user www 512 Feb 7 00:58 www Umm, that directory you show has the setuid bit set, not setgid! If you do a "chmod g+s www" you'll get "drwxr-sr-x" permissions. -- -Chuck