From owner-freebsd-hackers Fri Oct 15 3: 9:52 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from gw-nl3.philips.com (gw-nl3.philips.com [192.68.44.35]) by hub.freebsd.org (Postfix) with ESMTP id 3622014FE1 for ; Fri, 15 Oct 1999 03:09:46 -0700 (PDT) (envelope-from Jos.Backus@nl.origin-it.com) Received: from smtprelay-nl1.philips.com (localhost.philips.com [127.0.0.1]) by gw-nl3.philips.com with ESMTP id MAA15217 for ; Fri, 15 Oct 1999 12:09:41 +0200 (MEST) (envelope-from Jos.Backus@nl.origin-it.com) Received: from smtprelay-eur1.philips.com(130.139.36.3) by gw-nl3.philips.com via mwrap (4.0a) id xma015211; Fri, 15 Oct 99 12:09:42 +0200 Received: from hal.mpn.cp.philips.com (hal.mpn.cp.philips.com [130.139.64.195]) by smtprelay-nl1.philips.com (8.9.3/8.8.5-1.2.2m-19990317) with SMTP id MAA04502 for ; Fri, 15 Oct 1999 12:09:41 +0200 (MET DST) Received: (qmail 83412 invoked by uid 666); 15 Oct 1999 10:10:02 -0000 Date: Fri, 15 Oct 1999 12:10:02 +0200 From: Jos Backus To: freebsd-hackers@freebsd.org Subject: SUIDDIR problem Message-ID: <19991015121002.A82950@hal.mpn.cp.philips.com> Reply-To: Jos Backus Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [Maybe this is -questions/-stable material, I'm not sure. Please flame appropriately.] On a very recent -stable system: I have a directory, say /ftp/foocust/in. This directory - resides in a filesystem mounted on /ftp with the suiddir option (with SUIDDIR in the kernel). - is owned by uid root,group ftp - has mode u=rws,g=rwx,o= A user foo, group ftp, puts a file there using ftp (I'm running the stock FreeBSD ftpd). I would expect this file to subsequently become owned by root instead of foo, but nevertheless the file stays owned by foo. What am I doing wrong? Thanks, -- Jos Backus _/ _/_/_/ "Reliability means never _/ _/ _/ having to say you're sorry." _/ _/_/_/ -- D. J. Bernstein _/ _/ _/ _/ Jos.Backus@nl.origin-it.com _/_/ _/_/_/ use Std::Disclaimer; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message