From owner-freebsd-fs Thu Jan 18 21:20:47 2001 Delivered-To: freebsd-fs@freebsd.org Received: from modgud.nordicrecords.com (h21-168-107.nordicdms.com [207.21.168.107]) by hub.freebsd.org (Postfix) with SMTP id 0CB9437B400 for ; Thu, 18 Jan 2001 21:20:29 -0800 (PST) Received: (qmail 24626 invoked by alias); 19 Jan 2001 05:20:28 -0000 Received: (qmail 24619 invoked from network); 19 Jan 2001 05:20:28 -0000 Received: from unknown (HELO thinkpad770z) (207.21.168.217) by mail.nordicrecords.com with SMTP; 19 Jan 2001 05:20:28 -0000 From: "Dave Walton" To: freebsd-fs@freebsd.org Date: Thu, 18 Jan 2001 21:17:54 -0800 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: suiddir and samba Reply-To: walton@onlinemusic.com Message-ID: <3A675D82.10332.1E2BCB6@localhost> X-mailer: Pegasus Mail for Win32 (v3.12c) Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org According to mount(8), suiddir "is designed for use on fileservers serving PC users via ftp, SAMBA, or netatalk." And chmod(1) says of mode 4000, "Directories with the set-user-id bit set will force all files and sub-directories created in them to be owned by the directory owner and not by the uid of the creating process, if the underlying file system supports this feature." I've got suiddir set up on a system that will be used as a file server. It works fine, and behaves exactly as expected from a shell, including having the suid bit inherited in new directories. However, if a user creates a directory via SAMBA, the suid bit is NOT inherited. Any ideas what is going on here? Thanks, Dave ---------------------------------------------------------------------- Dave Walton Chief Technology Officer OnlineMusic.com walton@onlinemusic.com http://www.onlinemusic.com ---------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message