I am busy setting up a file server in our church office (using samba on a debian machine).
I would like to impliment a dropbox-like folder for each user, where othere users may deposit files. Ideally it should work like this: The "owner" (does not necesarily have to be the unix owner) "A" should be able to read and delete files from his own dropbox only (not paste or create new files) All other users should be able to only paste or create files in the "A" directory, no deletion or overwrites. Ideally they should not even be able to list the folder contents.
Currently, all regular users belong to a "Users" group, and I have set the directory owners to be their respective users (ie "a" is the owner of the "a" directory inside the "dropboxes/" directory) I tried setting the permissions to 533 and 522 for all these user folders, but I keep on getting the wrong result. I also tried using ACLs, but that, also, did not suceed. The "dropbox" directory lists as follow:
drwxrwxr-x 5 root users 4096 Apr 7 01:01 dropboxes
Any tips?