[CentOS] Samba Question

Wed Aug 26 15:58:44 UTC 2009
Toby Bluhm <tkb at alltechmedusa.com>

Rajagopal Swaminathan wrote:
> Greetings,
>
> There is a requirement of Samba server with the following specification:
>
> There are two groups: Designers, Draftsmen
>
> The share folder hierarchy is Project-->Final
>
> Now the Designers groups should have rw rights for Projects and subfolders
>
> The draghtsmen should be able to upload only files (not folders) to
> Final subfolder. They are not allowed to modify/delete anything
> anywhere. They will not have any permission in project folder
>
> any ideas?
>   

You should be able to do that with a inotify script running in the 
background. Install inotify-tools from rpmforge, manpage has some 
examples to get you started.

Probably need two dirs to work with:

files are dumped into "upload",  processed by inotify, moved to "final".


-- 
tkb