QNap permissions on Rocky 8

Hey guys, a bit OT.
I just bought a QNap Nas, I’ve got it connected to 2 macs and my rocky 8 flame.

Everything is working great on the macs, except on the Linux box it will only give me read permissions

Has anyone here ran into this problem?

have you provided Read & Write access in /etc/fstab?

Identity management can be a royal pain, but since you bought a NAS that can run an LDAP server you can make things relatively straightforward for yourself:

QNAP LDAP server

Configure a user/group that you can use for your macs and your linux workstation.

All of the computers will authenticate against this server and permissions problems will diminish or disappear.

This is a rabbit hole worth investigating.

You will benefit from the time spent.

2 Likes

Hey here is the line in my fstab.
//192.168.1.49/sandbox /Volumes/sandbox cifs credentials=/DL/password,iocharset=utf8,file_mode=0777,dir_mode=0777,noperm 0 0

under “credentials” I created a file named password, which simply states.
“username=username
password: password”

I also use a QNAP NAS and this is my /etc/fstab line based on your data:

//192.168.1.49/sandbox /Volumes/sandbox cifs credentials=/DL/password,file mode =0777,dir mode=0777 0 0

I can read & write from macOS and Linux without any issue. I have opened full permissions for the mountpoints and use local users so very vanilla configuration.

The credential file seems to have a typo: it should be:
username=username
password=password

Unless you made a typo when writing your message then this could be the issue. I would try this first before changing your line in /etc/fstab.

Let us know!

1 Like

Yup. My fault it was a typo while I was writing it.

Too many fingers :wink: