Samba Public and "Dropbox" folder

Unfortunately it's impossible to make a folder in which you can't list contents and can write files, Windows goes crazy when it sees something like this.

Most users can't deal with something like this through FTP, where it's quite common configuration.

You'll need to use some kind of website that allows posting files.


We do this type of thing for our school district, on Debian Linux. We setup the shares as such in smb.conf:

[Classwork]
path = /usr/local/share/Classwork
inherit permissions = yes
writeable = yes
comment = "All users can read contents and subfolders; only staff can write to it"

[Dropbox]           
path = /usr/local/share/Dropbox
writeable = yes
inherit permissions = Yes
comment = "All users can see the Dropbox folder, and each staff member has a group. Students (or teachers) can drag files into the folder, but not open them up. Only the staff member who owns the folder can open it, or its contents"

Set the permissions on the folders in the file system, not in Samba. Try that out, and report back.