Trying to mount a remote file system:

sudo mount -t cifs "//some.url/path" '~/local.path' -o username=$(whoami),rw,iocharset=utf8,uid=1000,noperm 

I get an error with a rather vague comment. What is the problem, how to mount?

mount it on some.url / path, for example (cfs, cifs) you might need a / sbin / mount.
In some cases, the syslog is try dmesg | tail or so.

    1 answer 1

    In this case, the relevant part of the error message, which speaks of the utility needed to work with the cifs file system:

    for several filesystems (eg nfs, cifs) you might need a / sbin / mount. helper program

    To mount the required file system, for example cifs or nfs, you need to install the appropriate utilities.

    Check the possibility of work:

     ls -l /sbin/mount.cifs ls -l /sbin/mount.nfs 

    Is the package installed:

     dpkg -l cifs-utils dpkg -l nfs-common 

    Install (example for Debian / Ubuntu, similar packages exist for other package managers):

     sudo apt-get install cifs-utils sudo apt-get install nfs-common 
    • hmm and nfs something to do with it? this file system is mentioned for example only in the error message. - aleksandr barakin 1:16 pm
    • Thank! checking installed packages showed that there are no cifs-utils. Delivered the package and it all worked. - user200907 February
    • @ user200907: well, the answer helped you. Here the format of the site is different from the usual forums - as a “thank you” you can vote for the answer. The new answer is not suitable for this, so I converted it to a comment. - Nick Volynkin