Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)SA
Posts
2
Comments
8
Joined
2 yr. ago

  • Meanwhile I found a solution using fstab.

    What's the advantage of using a systemd script?

    I'll probably switch to simple script, since I don't like the idea of my laptop shouting my NAS access credentials into any available random network on startup.

  • linuxmemes @lemmy.world

    Me, trying to step into the world of linux

  • You're right, I've been mixing up nfs and smb.

    Meanwhile, I've found a solution: I've added the following line to my /etc/fstab:

    //nas/sharedFolder /mnt/entrypoint cifs credentials=/home/yourUserNameHere/.nascreds,uid=yourUserID,gid=yourGroupID,defaults,auto 0 0

    then run sudo systemctl daemon-reload followed by sudo mount -av.

    make sure your credentials file can only read by users and groups you trust, in my case it's 750.

    However, this is still a workaround. The thing is, GTK-based apps don't show network resources. That irks me.

  • Linux @lemmy.ml

    Manjaro: Can't access smb share with GTK-based apps