# Cifs - Common internet file system

Common internet file system (CIFS) is a network filesystem protocol used for providing shared access to files and printers between machine on the network.

## Install CIFS

Arch based systems:

sudo pacman -S cifs-utils

Debian based systems:

sudo apt install cifs-utils

## Mounting CIFS

Mounting from Linux to Linux

sudo mount cifts -o user=username,iocharset=utf8,file_mode=0777,dir_mode=0777 //xxx.xxx.xxx/path/share_directory /pat/to/mountpoint

Mounting from Windows to Linux

sudo mount cifts -o iocharset=utf8,noperm,file_mode=0777,dir_mode=0777 //xxx.xxx.xxx/path/share_directory /pat/to/mountpoint

If the directory in windows has blank spaces in the name you need to escape them:

'\'Folder Name\'\'

For more information check here



© DarknessCode - LinuxSucks