Page 1 of 2
Mount issues
Posted: Tue Jan 21, 2025 4:58 pm
by Faisbook
Hello,
I am tryng to install this and am stuck on the media directory part. I know my mount works, is mounted and accessible. I am using a QNAP and have set the 'Squash no users' part. The mount works fine in my host and other VM so I am happy it is mounted but I get the following error:-
'Directory not readable or writable. Check permissions'
What could be the issue?
Re: Mount issues
Posted: Tue Jan 21, 2025 6:08 pm
by rogs
Hey @Faisbook!
Is this a NFS or SMB share? NFS is trickier with permissions than SMB.
Cheers!
Roger.
Re: Mount issues
Posted: Tue Jan 21, 2025 9:26 pm
by Faisbook
Re: Mount issues
Posted: Tue Jan 21, 2025 9:33 pm
by rogs
Then figure out permissions. There are some folks in the Discord that have been able to use NFS, so you can go there and ask for help.
Cheers!
Roger.
Re: Mount issues
Posted: Fri Jan 24, 2025 1:13 pm
by Faisbook
I couldn't get this to work so tried set up SMB instead. Mount -ls shows my share as mounted and it even lists contents. Fstab entry also done and seems to be working. I am still getting the 'Directory "/mnt/Media" is not writable or readable. Check permissions" error. I'm at a loss!
Re: Mount issues
Posted: Fri Jan 24, 2025 1:25 pm
by rogs
Does your YAMS user has permissions to write in the mount?
Re: Mount issues
Posted: Fri Jan 24, 2025 1:59 pm
by Faisbook
The credentials I supplied to mount the share via SMB - the user def has read / write permissions. Should I create a user with my Debian VM to match those credentials? I currently use the same username but with a different password?
Re: Mount issues
Posted: Fri Jan 24, 2025 2:00 pm
by rogs
How are you mounting your SMB in the fstab file?
Re: Mount issues
Posted: Fri Jan 24, 2025 2:51 pm
by Faisbook
//192.168.0.150/Media /mnt/Media cifs credentials=/etc/samba/faisal.cred
the above is the fstab entry. I then have a further file in /etc/samba named fsisal.cred which has my credentials on it. I know it has access because command 'ls -l /mnt/Media' shows me all the folders from the share.
Re: Mount issues
Posted: Fri Jan 24, 2025 2:58 pm
by rogs
You are missing permissions, the uid
and gid
. Here's my fstab
:
Code: Select all
//123.123.123.123/Media /mnt/media/ cifs username=my-yams-username,password=my-yams-user-password,uid=my-yams-username,gid=my-yams-user-group 0 0