Tag Archives: reason given by server: Permission denied

mount: 192.168.70.178:/ failed, reason given by server: Permission denied [Solved]

Mount: 192.168.70.178:/failed, reason given by server: permission denied

Use exportfs – A to see. without. Edit VI/etc/exports and write it as/root/* (RW, sync). Note that root is the following directory for root* It means that all hosts, you can also write www.xxx.com Or something like that. If it’s IP, it will be de resolved to the host name. If there is no host name in it, it will prompt that there is no permission. The best way to do this is directly *, if necessary. Then you can use the host name

Here’s mine

mount -o nolock 192.168.70.178:/root/EMRC-ETC /mnt/EMRC-ETC

Last but not least

chmod 777 EMRC-ETC/

Otherwise, the file cannot be written or created on the development board