O'Reilly logo

Linux® For Dummies®, 8th Edition by Richard Blum, Dee-Ann LeBlanc

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Step 9: Create Shared Folders in Samba

The final piece of the puzzle is to tell Samba what shared folders we want to advertise on the network and allow network clients to connect to. This is done in the Samba Configuration window.

1.
Click the Add Share button. The Create Samba Share window appears. From here, you define the details of the shared folder:
  • Directory: Type the full pathname of the folder you want to share. You can also click the Browse button and browse to select the folder.
  • Share Name: Type the name you want Windows network clients to use to connect to the share.
  • Description: Type a simple description that will be advertised along with the share name to remote clients.
  • Writable: Check this check box if you want to allow remote clients to be able to write to the shared folder. You must also have the Linux permissions set, as shown in the earlier sections in Steps 3 and 4, for them to write. This is a handy way to stop allowing remote clients to write to the share in case of an emergency.
  • Visible: Select this check box if you want remote clients to see the share advertised when they browse the network.
Enter the /accounting folder for the directory. As you type the folder name, Samba enters a suggested share name as well (which is usually the same as the folder name). Figure 21-9 demonstrates configuring the accounting shared folder.
Figure 21-9. Sharing a folder in Samba.

2.
Click the Access tab and select which users have access to the shared folder. Samba allows ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required