Kevin Hall
2007-Jun-24 10:36 UTC
[Samba] Shared Folder Stop users altering subfolder structure
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? KH
Francis Galiegue
2007-Jun-24 11:13 UTC
[Samba] Shared Folder Stop users altering subfolder structure
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@one2team.com One2team - 12bis rue de la Pierre Lev?e - 75011 PARIS +33683877875, +33143381980