Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jan 2001 21:17:54 -0800
From:      "Dave Walton" <walton@onlinemusic.com>
To:        freebsd-fs@freebsd.org
Subject:   suiddir and samba
Message-ID:  <3A675D82.10332.1E2BCB6@localhost>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A675D82.10332.1E2BCB6>