【Azure Files】LinuxからSMBでマウントしようとすると「mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)」と出る

StorageAccountの接続コマンドの通りにやっても、下記ができることがある。
1 2 |
mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg) |
コマンドを見ると/etc/smbcredentials/teststorage.credをなければ作成しているので、これを消す。
1 |
rm /etc/smbcredentials/teststorafe.cred |