My fstab line:
#mount HTPC Drive
//192.168.1.36/video /media/smbvideo cifs defaults,_netdev,auto,user=wstorage,password=wstoragep,noexec,uid=1000,gid=1000 0 0
when trying to mount via terminal
wwed@wwed-Z590-AORUS-MASTER:~$ mount /media/smbvideo
mount.cifs: permission denied
above works as superuser
below per request (if I correctly provided what you asked for), directory in question is smbvideo:
wwed@wwed-Z590-AORUS-MASTER:/media$ ls -al
total 32
drwxr-xr-x 7 root root 4096 Jun 14 15:26 .
drwxr-xr-x 24 root root 4096 May 1 09:52 ..
drwxr-xr-x 2 wwed wwed 4096 May 28 2023 jellyfin
drwxr-x---+ 4 root root 4096 Jun 16 11:58 wwed
drwxr-x---+ 2 root root 4096 Jun 16 11:44 root
drwxr-xr-x 2 wwed wwed 8192 Apr 28 12:34 smbvideo
drwxr-xr-x 2 wwed wwed 4096 May 29 2023 video
wwed@wwed-Z590-AORUS-MASTER:~$ id wwed
uid=1000(wwed) gid=1000(wwed) groups=1000(wwed),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),121(lpadmin),137(lxd),138(sambashare),141(libvirt),145(jellyfin),995(ollama)
premount:
nothing referenced in relation to the smbshare
once mounted:
//192.168.1.36/video on /media/smbvideo type cifs (rw,noexec,relatime,vers=3.1.1,cache=strict,username=wstorage,uid=1000,noforceuid,gid=1000,noforcegid,addr=192.168.1.36,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,retrans=1,echo_interval=60,actimeo=1,closetimeo=1,_netdev)