From owner-freebsd-questions@FreeBSD.ORG Thu Feb 7 18:50:09 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 78AF416A41A for ; Thu, 7 Feb 2008 18:50:09 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id 04FD813C448 for ; Thu, 7 Feb 2008 18:50:07 +0000 (UTC) (envelope-from gahr@gahr.ch) Received: from 80-218-191-236.dclient.hispeed.ch ([80.218.191.236] helo=gahrtop.localhost) by cpanel03.rubas-s03.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1JNBp1-0003gT-6Q; Thu, 07 Feb 2008 19:50:07 +0100 Message-ID: <47AB52D8.9010401@gahr.ch> Date: Thu, 07 Feb 2008 19:50:00 +0100 From: Pietro Cerutti User-Agent: Thunderbird 2.0.0.9 (X11/20071121) MIME-Version: 1.0 To: Chuck Swiger References: <47AB48CF.1020804@gahr.ch> <47AB4D4B.3070102@gahr.ch> <47AB50FB.8020900@gahr.ch> <6E924673-19E3-4CD2-9FE0-242E87FBE2D2@mac.com> In-Reply-To: <6E924673-19E3-4CD2-9FE0-242E87FBE2D2@mac.com> X-Enigmail-Version: 0.95.5 OpenPGP: id=9571F78E; url=http://www.gahr.ch/pgp Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig7CD24EC0A92174B1F43A1E9A" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel03.rubas-s03.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - gahr.ch X-Source: X-Source-Args: X-Source-Dir: 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:50:09 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig7CD24EC0A92174B1F43A1E9A Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Chuck Swiger wrote: > On Feb 7, 2008, at 10:42 AM, Pietro Cerutti wrote: >> From HostClient: >> >>> ls -al /share/ >> drwxr-sr-x 4 User www 512 Feb 7 19:23 www >> >>> touch /share/www/foo >>> ls -l /share/www/foo >> -rw-r----- 1 user www 0 Feb 7 19:39 /share/www/foo >> >> (group id works) >=20 > Right, this is the BSD setgid semantics one would expect. >=20 >>> touch bar >>> ls -l bar >> -rw-r----- 1 user user 0 Feb 7 19:40 bar >> >>> mv bar /share/www/ >>> ls -l /share/www/bar >> -rw-r----- 1 user user 0 Feb 7 19:40 /share/www/bar >> ~~~~ >> Shouldn't it be www? >=20 > Does the remote system used here implement the BSD semantics? If it > does, I would expect this to work; if it doesn't, then no, I wouldn't > expect it to work. >=20 Yes, it runs 6.3-RELEASE.. maybe it's NFS-related? --=20 Pietro Cerutti PGP Public Key: http://gahr.ch/pgp --------------enig7CD24EC0A92174B1F43A1E9A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHq1LcwMJqmJVx944RClUpAJ4yDjdFfuYCmWVnGzlIof+9mW9+MgCfTReF 05YBil1Ezcy4BfTHrph8a2E= =VcWF -----END PGP SIGNATURE----- --------------enig7CD24EC0A92174B1F43A1E9A--