Date: Fri, 19 Jan 2001 19:29:46 -0800 (PST) From: Doug White <dwhite@resnet.uoregon.edu> To: Dave Walton <walton@onlinemusic.com> Cc: freebsd-fs@FreeBSD.ORG Subject: Re: suiddir and samba Message-ID: <Pine.BSF.4.21.0101191928590.59059-100000@resnet.uoregon.edu> In-Reply-To: <3A675D82.10332.1E2BCB6@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 18 Jan 2001, Dave Walton wrote: > 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. Use samba's 'inherit permissions' option instead. (or something like that, I don't have the man page handy) Doug White | FreeBSD: The Power to Serve dwhite@resnet.uoregon.edu | www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0101191928590.59059-100000>