I mounted a network disk using
smbclient -L //network_disk -U MYDOMAIN/myuser
sudo mount.cifs -v //network_disk/G ~/G --verbose -o user=myuser,domain=MYDOMAIN
After that, I can't for example touch ~/G/temp10.txt
but can sudo touch ~/G/temp10.txt
I tried to use sudo chown -R $USER ~/G
. I waited about 5 minutes and it was still not finished. It seems the network disk is too large (24 TB) for me to use this function. Also, I tried sudo chgrp myuser ~/G
. It didn't help.
I want to know how to access this network disk without sudo.
Also, if I use mount.cifs -v //network_disk/G ~/G --verbose -o user=myuser,domain=MYDOMAIN
I have an error
mount.cifs: permission denied: no match for /home/myuser/G found in /etc/fstab