I am a very basic user, but I have managed to use Dolphin to mount an smb share in my network, using a seperate username and saving that in the keychain. I then have full write permissions within that share.
I need to mount it for other applications, so I have tried this command:
It then asks the password and mounts the share to the specified folder, but I get read-only access. It is the same username and password I use when mounting the share in Dolphin.
This user has permission 770 on the server for this share/folder.
After I get this temporary mount working, I would like to enter this share in fstab. Right now, I have the same problem using fstab to mount this share - read-only.
Ok, so first I want to understand the temporary, manual way of mounting and once that works, I will try to use systemd, following the guide you linked.
If I understand you correctly, /run/media is not a place to do this because this folder is created dynamically on boot. I tried /home/linuxuser/remote/Folder instead, so I created this and as local root, mounted the share using the mount command.
Now, when I open the folder in Dolphin, things like “New Folder” are not greyed out as they were previously, but I still get an error message upon attempting any write command.
Meanwhile, in the Dolphin-mounted share I can create folders and write and so on. I am really trying to use guides before asking questions, but I’m out of my depth for this.
I had to add “uid=linuxuser” to the options, that way my local user gets write permissions to the mounted share. If I don’t add that, only root has write access.
sudo mount -t cifs -o uid=linuxuser,username=sambauser //192.168.x.x/share /mnt/folder/