Loading network shares using an entry in fstab does not work:
Example entry in fstab:
//nas-xyz/music /media/music cifs users,credentials=/home/user-dir/.smbcredentials,uid=1000,gid=1000,vers=2.0,auto,rw 0 0
This entry has been tested in Manjaro, Zorin, and Tuxedoos and works perfectly everywhere.
Error message when I mount everything in the terminal:
[marcel@marcel-kdelinux:~] $ sudo mount -a
[sudo] Password for marcel:
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
Cam you report this issue at Sign in · GitLab?
Sorry, allready solved. Someone gave me the needed advice.
Cool, how did you solve it? What was the problem?
I’m not really sure which correction actually solved the problem. The discussion went on for quite some time: KDE Linux: Editing fstab not possible
- I first edited the fstab file directly in Dolphin. Following a tip, I tried using Nano in the terminal, which worked better.
- Then I had created the “mount” directories incorrectly (the underlying “media” directory was missing).
After that, I actually gave up and didn’t look at it for a long time. After a few updates, I tried again and it worked right away (maybe cifs-utils was updated).