WaitingForNehalem
Platinum Member
A teacher needs the ability to view and edit the students' home folders. The students can't see each other's home folder though.
Here are my two solutions:
OR
Both of these solutions aren't ideal though. I don't like have the /home directory so open and I also don't like the teacher being logged in as root since the files he creates will be owned by root. Would that affect the student's ability to edit the file?
Would putting "directory mask" override the unix permissions?
Code:
[homes]
comment = Home Directories
browseable = no
writable = yes
valid users = %S
Here are my two solutions:
Code:
chmod -R 777 /home
Code:
[student profiles]
comment = student profiles
path = /home
writeable = no
write list = 100, david
valid users = 100, david
OR
Code:
chmod -R 755 /home
Code:
[student profiles]
comment = student profiles
path = /home
writeable = no
valid users = 100, david
admin users = 100, david
Both of these solutions aren't ideal though. I don't like have the /home directory so open and I also don't like the teacher being logged in as root since the files he creates will be owned by root. Would that affect the student's ability to edit the file?
Would putting "directory mask" override the unix permissions?