# Network drives without samba

Samba is useful but many programs are not able to handle SMB protocol (eg notepadqq, geany, atom etc).

A more compatible way to use network drives is to map them with mount_cifs to a local path. Then all programs will be able to handle files from the network drives.

If you want to map a network drive for the current session then just type:

mount.cifs "//computer/share" /mnt -o user=username

If you want to have the drives mapped after each reboot then:

1. chmod +s /sbin/mount.cifs
2. chmod +s /sbin/umount.cifs
3. chmod 600 /etc/fstab

Now for each share do the following:

1. mkdir localpath
2. vim /etc/fstab