Posts Tagged ‘sharing files’

How to easily share files between Debian systems

dilluns, juliol 5th, 2010

After a few years with several computers at home, I needed a little network to share our files without using external drives. With Debian it can be easily achieved, in less than 10 minutes.

Packages needed:
samba, nautilus-share,  probably smbclient

After installing these packages in every computer, restart your session and try to share a folder. To do that, simply right click on a directory and choose “sharing options”. If Gnome prompts an error, please make sure that your user is in sambashare group, and that the /var/lib/samba/usershare directory is owned by sambashare: 
$ chown root:shambashare /var/lib/samba/usershares/

Once you get no errors, you’ll see your shared hosts and folders in Places > Network. Mount the desired folder, and let the others connect to it.

In addition, you’ll need to set up a user in the  server. Let’s say we want to call it “edu”. This command will set a password for him.

$ smbpasswd -a edu

and it should be working now :)


Entra