Date: Thu, 07 Feb 2008 19:50:00 +0100 From: Pietro Cerutti <gahr@gahr.ch> To: Chuck Swiger <cswiger@mac.com> Cc: User Questions <freebsd-questions@freebsd.org> Subject: Re: cp -p Message-ID: <47AB52D8.9010401@gahr.ch> In-Reply-To: <6E924673-19E3-4CD2-9FE0-242E87FBE2D2@mac.com> References: <47AB48CF.1020804@gahr.ch> <F2F8763D-875B-49D6-BBFB-276312FC86EE@mac.com> <47AB4D4B.3070102@gahr.ch> <47AB50FB.8020900@gahr.ch> <6E924673-19E3-4CD2-9FE0-242E87FBE2D2@mac.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47AB52D8.9010401>