User Tools

Site Tools


linux:notes:samba_cifs_mount

This is an old revision of the document!


  • Was useful during a LiveUSB session
  • :!: uid needs to be that of the LiveUSB session user for GUI folder drag/drop to work
mkdir -p /media/nas && mount -t cifs //192.168.1.152/E /media/nas -o uid=1000,username=Espionage724

New

sudo mount --mkdir -t 'cifs' '//192.168.1.152/NAS' '/mnt/NAS' -o 'username=Espionage724,password=x,iocharset=utf8'

New 2

sudo mkdir -p '/mnt/NAS' && sudo mount.cifs '//192.168.1.152/NAS' '/mnt/NAS' -o username=$USER uid='1000' gid='1000'
gio open '/mnt/NAS'
sync && sudo umount '//192.168.1.152/NAS' && sudo rm -Rf '/mnt/NAS'
/srv/www/wiki/data/attic/linux/notes/samba_cifs_mount.1765005471.txt.gz · Last modified: by Sean Rhone

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki