How to solve a problem of NFS 'permission denied'

1. Created a new user at the QNAP server named 'username' and gave him full permission on the desired folder. For example, let's share the 'media' folder.2. Mounted the partition from the client machine[root@redhat ~]# mkdir /opt/mymedia/[root@redhat ~]# mount -t cifs -o username=username,password=user's_password,uid=application_name,gid=application_name //192.168.1.1/media /opt/mymedia/Testing:[root@redhat ~]# cd /opt/mymedia/[root@redhat mymedia]# lltotal 2-rwxr-xr-x 0 nginx nginx  7 2020-12-15 12:44 100.txt-rwxr-xr-x 0 nginx...