What am I doing wrong?

x="123456" sudo mount.cifs //192.168.1.174/1C_BASE /mnt/1c cifs auto,username="\\HB-PERCO\1CBASE",password="$x",rw,_netdev 0 0 Password for root@//192.168.1.174/1C_BASE: * mount error(13): Permission denied Refer to the mount.cifs(8) manual page (eg man mount.cifs) 
  • The string from /etc/fstab not suitable as a set of parameters for the mount program. call syntax: mount опции откуда куда - aleksandr barakin

1 answer 1

My profile is written as:

 mount -t cifs //192.168.129.146/NetBuff /mnt/ -o username=******,password=****,iocharset=utf8,codepage=866,ro 
  • sudo mount -t cifs //192.168.1.174/1C_BASE / mnt / 1c -o username = "HB-PERCO \ 1CBASE", password = $ 1, iocharset = utf8, codepage = 866, ro mount error (22): Invalid argument - shaman888