💾 Archived View for darknesscode.xyz › notes › cifs.gmi captured on 2024-07-09 at 00:26:20. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-12-05)

-=-=-=-=-=-=-

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

https://linux.die.net/man/8/mount.cifs

----------

Home

Linux

Notes

MicroLog

----------

© DarknessCode