Can Read but not Write to SMB NAS

I’ve tried two different ways of connecting to my NAS (via adding a remote location in dolphin and by setting up a Cifs entry in the fstab) no matter what I do, I can browse all the folders of the NAS but i cannot edit files, add files, or anything else via Dolphin or via nano as my user.
Weirdly creating and saving a file via nano as Sudo does work, although it seemed a bit slow to save.

I installed Samba via Yast and here’s the Fstab entry I’m using (edited for personal details):

//192.168.X.XXX/Servers /home/[user]/NASServers/ cifs credentials=/home/[user]/Credentials/NASpassword,iocharset=utf8 0 0

Does Opensuse have some weird SMB permissions by default? It shouldn’t need to be writing to the NAS as Sudo right?

Maybe use UID and GID, see man fstab

Ah okay, I set a UID to 1000 like this:

//192.168.X.XXX/Servers] /home/[user]/NASServers/ cifs uid=1000,credentials=/home/[user]/Credentials/NASpassword,iocharset=utf8 0 0

now it seems to work! it threw an error on the first file move, but i tried a second time and it went right through;
Do I need to set the GID as well? Or is that redundant?

Only you can answer that. For single user access, setting the relevant UID would be sufficient. Specifying the GID becomes relevant whenever the group ownership of the mounted files matters for access control eg a group of users who might need R/W access to a given share.

Hey,
same problem here! After the update I cannot write to my NAS-smb anymore.

Could you also explain a little bit for not so experienced users?
I connected to my NAS via dolphin (network) and therefore I do not have an entry in /etc/fstab. So, how do I fix it?

Thank you for feedback.

Yours is a different issue I think. Check this recent topic out…

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.