[Samba] Shared Folder Stop users altering subfolder structure
fg at one2team.com
Sun Jun 24 10:49:05 GMT 2007
Le Sunday 24 June 2007 12:28:18 Kevin Hall, vous avez écrit :
> I am working in a school where each class has a class logon eg class1,
> class2 etc. and in smb.conf each class is directed to their own folder on
> the server eg /shared/class1, /shared/class2 etc.
> When a pupil navigates to their class folder on the server, they see
> subfolders for each pupil in the class eg sid_smith, joe_bloggs etc. They
> then navigate to their named folder to load/save their work.
> My problem is I seem unable to stop pupils changing the folder structure,
> ie deleting, moving or copying a folder. eg sid_smith becomes a subfolder
> in joe_bloggs.
> Is it possible or are individual logons the only solution?
You should go with this solution, imho. You then create a per class share with
valid users = @class1 (or class2 or whatever). and pre-create directories for
each pupil (with a custom useradd-like command).
Francis Galiegue, fg at one2team.com
One2team - 12bis rue de la Pierre Levée - 75011 PARIS
More information about the samba