Publication date: 2020-07-17
Attempting to mount a Samba share on Alpine Linux fails due to permission error:
mount -t cifs //192.168.1.1/myshare /home/mountdir
mount: mounting //192.168.1.1/myshare on /home/mountdir failed: Permission denied
The solution is simple. The package "cifs-utils" needs to be installed. To install:
apk add cifs-utils
Now it is working:
mount -t cifs //192.168.1.1/myshare /home/mountdir
is asking for the password to use now.