[CentOS] Samba Question

Wed Aug 26 15:28:13 UTC 2009
Les Mikesell <lesmikesell at gmail.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?

For anything resembling unix filesystem semantics, being able to create and 
delete files depends on the permissions of the containing directory, although 
you can constrain deletions to files that you own (the way /tmp works, for 
example).  If can't require a designer to do the move/copy from project to final 
you might want to look at a revision control system like subversion or a 
workflow (and more) system like Alfresco where you have greater control over the 
operations.  Subversion saves every revision so even if you delete or modify 
something you can recall earlier versions.  Alfreso can present web/ftp/smb/nfs 
shares but with some programmed logic controlling who can see/do what.

-- 
   Les Mikesell
    lesmikesell at gmail.com