HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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