Difference between revisions of "Using Samba in your File Manager"

Updated and formatted
imported>Cscs
m (Update smbd/nmbd>smb/nmb)
imported>Cscs
(Updated and formatted)
Line 7: Line 7:




The following tutorial will guide you through setting up usersharing with Samba so that you can use your file manager to share folders (nautilus-share, nemo-share, Thunar Shares Plugin, etc.). Ubuntu style.


== Installation ==


The following tutorial will guide you through setting up usersharing with Samba so that you can use your file manager to share folders (nautilus-share, nemo-share, Thunar Shares Plugin, etc.). Ubuntu style.
First we need to install a few packages.
 
Install samba, nautilus-share and gvfs-smb. If you use a different file manager, please install the corresponding sharing package for your file manager instead of nautilus-share. In the terminal, enter:


sudo pacman -S samba nautilus-share gvfs-smb


First we need to install a few packages. Open a terminal and become root:
== Configuration ==


su
=== Automatic ===


Install samba, nautilus-share and gvfs-smb. If you use a different file manager, please install the corresponding sharing package for your file manager instead of nautilus-share. In the terminal, enter:
sudo pacman -S manjaro-settings-samba


pacman -S samba nautilus-share gvfs-smb
=== Manual ===


Now we are ready to set up Manjaro for usershares. Usershares allows a non-root user to add, modify, and delete their own samba shares.
Now we are ready to set up Manjaro for usershares. Usershares allows a non-root user to add, modify, and delete their own samba shares.
Line 69: Line 74:


Save the <code>smb.conf</code> file with CTRL+O and close nano with CTRL+X.
Save the <code>smb.conf</code> file with CTRL+O and close nano with CTRL+X.
== Post-install (Users and Groups) ==


Now add your user to the sambashare group. Replace <code><username></code> with your real username. In the terminal, enter:
Now add your user to the sambashare group. Replace <code><username></code> with your real username. In the terminal, enter:
Anonymous user