Permission denied when mounting from a linux system

avalon60

Guru
Joined
Jan 15, 2014
Messages
597
I have just had to reset up a linux mint machine to use with xeoma cctv , which is now up and running.
I want to mount a TrueNAS folder in the /etc/fstab file of Linux mint, but I am getting permission denied.
I have:
/192.168.0.42/CCTV/xeoma /mnt/CCTV/xeoma cifs username=xxxx,password=xxxxx,uid=1000 0 0.

I write the file, then when I do
mount -a
I get mount.cifs: permission denied

For the permissions of the CCTV dataset, I have set the ACL as
Name: EVERYONE
Type: Allowed
Permission: FULL

My username and password are correct, so what is wrong.
Out of interest, is there a Hosts Allow box for a share in TrueNAS, as I want to check something
thanks

Edit:
I tried a nfs share and added this to /etc/fstab:

192.168.0.22: /music /Media/music nfs user=xxxx,password=xxxx rw,,user,nfsver=3

then did sudo mount -
mount: /etc/fstab: parse error at line 14:

What is wrong with the said line.

Edit:
I solved the problem eventually!
It turned out that I missed out what turned to be a crucial piece ofn syntax:
>>192.168.0.42:/mnt/Media/music <<
After correcting the said line,the folders were mounted ok
 
Last edited:
Top