Page 280 - DCAP602_NETWORK_OPERATING_SYSTEMS_I
P. 280
Network Operating Systems-I
notes read only = No
guest ok = Yes
public = Yes
browseable = Yes
create mask = 0666
directory mask = 0777
The [SmallGroup] example section is not allowable to have guest or public access, but the resource
can be viewed by networked workstations and clients.
Some new directory created in the share will be given the directory permissions of 777, and any
new file will have file permissions of 666. The only valid user accounts that can connect to this
resource are peter, paul, and mary.
Example:
[SmallGroup]
comment = Small Share - Few Users
path = /samba/smallgroup
read only = No
guest ok = No
browseable = Yes
create mask = 0666
directory mask = 0777
valid users = peter, paul, mary
The [Financial] example resource can be viewed by all networked workstations and clients but is not
publicly accessible. Some new directory created in the share will be given the directory permissions
of 770, and any new file will have file permissions of 660.
The only valid users that are allowed to access this resource are UNIX user accounts planned
in the UNIX group file (/etc/groups) called “financial”. This is specified by the “@finanical”
parameter.
Any file or directory that is produced on the shared resource will have the (forced) group name of
“financial” applied to it, this is similar to typing “chgrp financial *” at the Linux command
prompt.
Example:
[Financial]
comment = RESTRICTED - Financial Cell
path = /samba/financial
read only = No
guest ok = No
browseable = Yes
create mask = 0660
directory mask = 0770
274 LoveLy professionaL university