Sample Header Ad - 728x90

How to mount an Azure file share on Android?

1 vote
0 answers
727 views
I tried a couple of Android file explorer apps to mount an (SMB3) Azure file share, but I got an "Access Denied" error with each of them. Does anyone know a solution? I tried the most common File-Apps on PlayStore: - Cx File Explorer - File Manager - X-plore - AndSMB - CIFS Documents Provider Authentication is with username and Azure storage account key based on the snippet provided by azure for Linux: sudo mkdir /mnt/fileshare1 if [ ! -d "/etc/smbcredentials" ]; then sudo mkdir /etc/smbcredentials fi if [ ! -f "/etc/smbcredentials/aname.cred" ]; then sudo bash -c 'echo "username=aname" >> /etc/smbcredentials/aname.cred' sudo bash -c 'echo "password=akey" >> /etc/smbcredentials/aname.cred' fi sudo chmod 600 /etc/smbcredentials/aname.cred sudo bash -c 'echo "//aname.file.core.windows.net/fileshare1 /mnt/fileshare1 cifs nofail,vers=3.0,credentials=/etc/smbcredentials/aname.cred,dir_mode=0777,file_mode=0777,serverino" >> /etc/fstab' sudo mount -t cifs //aname.file.core.windows.net/fileshare1 /mnt/fileshare1 -o vers=3.0,credentials=/etc/smbcredentials/aname.cred,dir_mode=0777,file_mode=0777,serverino
Asked by Sam (11 rep)
Apr 4, 2022, 10:41 PM
Last activity: Apr 5, 2022, 04:18 PM