Mount issues

Having any issues installing YAMS? This is the place to ask!
Faisbook
Posts: 21
Joined: Mon Jan 13, 2025 1:13 pm
Gender:
Palestine

Mount issues

Post 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?

User avatar
rogs
Site Admin
Posts: 220
Joined: Mon Oct 23, 2023 12:53 pm
Location: Montevideo, Uruguay
Gender:
Contact:
Uruguay

Re: Mount issues

Post by rogs »

Hey @Faisbook!

Is this a NFS or SMB share? NFS is trickier with permissions than SMB.

Cheers!

Roger.

YAMS Creator

E: roger (at) rogs.me. Fuck you, email bots.
W: https://rogs.me
gpg: curl -sL https://rogs.me/rogs.txt | gpg --import
fingerprint: ADDF BCB7 8B86 8D93 FC4E 3224 C7EC E9C6 C36E C2E6


Also, I love cats :mrgreen:

Pirate jet, pirate jet
Faisbook
Posts: 21
Joined: Mon Jan 13, 2025 1:13 pm
Gender:
Palestine

Re: Mount issues

Post by Faisbook »

It's NfS

User avatar
rogs
Site Admin
Posts: 220
Joined: Mon Oct 23, 2023 12:53 pm
Location: Montevideo, Uruguay
Gender:
Contact:
Uruguay

Re: Mount issues

Post 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.

YAMS Creator

E: roger (at) rogs.me. Fuck you, email bots.
W: https://rogs.me
gpg: curl -sL https://rogs.me/rogs.txt | gpg --import
fingerprint: ADDF BCB7 8B86 8D93 FC4E 3224 C7EC E9C6 C36E C2E6


Also, I love cats :mrgreen:

Pirate jet, pirate jet
Faisbook
Posts: 21
Joined: Mon Jan 13, 2025 1:13 pm
Gender:
Palestine

Re: Mount issues

Post 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!

User avatar
rogs
Site Admin
Posts: 220
Joined: Mon Oct 23, 2023 12:53 pm
Location: Montevideo, Uruguay
Gender:
Contact:
Uruguay

Re: Mount issues

Post by rogs »

Does your YAMS user has permissions to write in the mount?

YAMS Creator

E: roger (at) rogs.me. Fuck you, email bots.
W: https://rogs.me
gpg: curl -sL https://rogs.me/rogs.txt | gpg --import
fingerprint: ADDF BCB7 8B86 8D93 FC4E 3224 C7EC E9C6 C36E C2E6


Also, I love cats :mrgreen:

Pirate jet, pirate jet
Faisbook
Posts: 21
Joined: Mon Jan 13, 2025 1:13 pm
Gender:
Palestine

Re: Mount issues

Post 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?

User avatar
rogs
Site Admin
Posts: 220
Joined: Mon Oct 23, 2023 12:53 pm
Location: Montevideo, Uruguay
Gender:
Contact:
Uruguay

Re: Mount issues

Post by rogs »

How are you mounting your SMB in the fstab file?

YAMS Creator

E: roger (at) rogs.me. Fuck you, email bots.
W: https://rogs.me
gpg: curl -sL https://rogs.me/rogs.txt | gpg --import
fingerprint: ADDF BCB7 8B86 8D93 FC4E 3224 C7EC E9C6 C36E C2E6


Also, I love cats :mrgreen:

Pirate jet, pirate jet
Faisbook
Posts: 21
Joined: Mon Jan 13, 2025 1:13 pm
Gender:
Palestine

Re: Mount issues

Post 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.

User avatar
rogs
Site Admin
Posts: 220
Joined: Mon Oct 23, 2023 12:53 pm
Location: Montevideo, Uruguay
Gender:
Contact:
Uruguay

Re: Mount issues

Post by rogs »

You are missing permissions, the uidand 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
YAMS Creator

E: roger (at) rogs.me. Fuck you, email bots.
W: https://rogs.me
gpg: curl -sL https://rogs.me/rogs.txt | gpg --import
fingerprint: ADDF BCB7 8B86 8D93 FC4E 3224 C7EC E9C6 C36E C2E6


Also, I love cats :mrgreen:

Pirate jet, pirate jet
Post Reply