1757208 Members
2335 Online
108858 Solutions
New Discussion

Re: file permitions

 
Piotr Kirklewski
Super Advisor

file permitions

Hi there
I'm using mmc to create a share, user called student and a group called students.
I need students to have read only access to the files in the share. I did chmod -R 774 on the file. But I can't see user or group in the system. Does samba have a separate way of handling the users ?
Jesus is the King
1 REPLY 1
James Brand
Frequent Advisor

Re: file permitions

Samba is a very big subject! I would suggest purchasing the O'REILLY book if you are going to use Samba much, or go here
http://us1.samba.org/samba/

I have never used mmc, we always configure Samba "by hand". And yes, there is much more to how Samba handles users than file permissions. Here is the share portion of a /etc/samba/smb.conf file that you might find useful -

[student]
path = your path here
force user = student
force group = students
public = yes
read only = yes
hosts allow =

Don't forget to cycle the daemon after making changes to smb.conf