Sharing Files and Print Services
After configuring your defaults for the Samba server, you can create specific shared directories limited to certain groups of people or available to everyone. For example, say you want to make a directory available to only one user. To do so, you would create a new section and fill in the needed information. Typically, you'll need to specify the user, directory path, and configuration information to the SMB server, as shown here:
[jacksdir] comment = Jack's remote source code directory path = /usr/local/src valid users = tackett browseable = yes public = no writable = yes create mode = 0700
This sample section creates a shared directory called jacksdir. It's best to keep share names to under nine characters ...
Get Red Hat® Linux® 7 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.