Sharing Directories


Simple Directory Sharing:

; A publicly accessible directory, read/write to all users. 
[public]
 path = /tmp/public
 public = yes
 writable = yes

Limited Access Directory Sharing:

; A private directory, usable only by fred and the accounting group. 
[fredsdir]
 comment = Fred's folder
 path = /home/fred
 valid users = fred @accounting
 public = no
 writable = yes

Homes Directory

[homes] ;creates a share for each user based on passwd file.

Common Keywords:

public
Can guests connect to this service
writeable
Allows writes to service, opposite of read only
valid users
List of users or groups (prefix with @) able to connect to the service
write list, read list
Like above but lists users who can write/read to a folder
admin users
List of users who can access files as superuser
browsable
Determines if service will show up in a browse list
comment
Comment for browse list
create mode
Used to determine permissions when creating a file from dos