You are not logged in.
Pages: 1
Hi,
I'am running KDE with an ecryptfs encrypted home directory.
I want to mount a network share with my credentials located on my home directory.
I tried to much.
How can I do this?
KR,
Dietmar
Offline
I tried to much.
Yet said too little.
What have you tried? What went wrong? What errors / journal messages did you get?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
autostart-scripts:
[dietmar@desktop autostart-scripts]$ cat mount.sh
#!/usr/bin/bash
mount -t cifs //192.168.xxx.x/Media /mnt/Media -o workgroup=workgroup,iocharset=utf8,guest
results in:
03-05-2020 19:08 plasma_session org.kde.plasma.session: autostart script ("/home/dietmar/.config/autostart-scripts/mount.sh") finished with exit code 1
Is this because mount needs sudo??
=====
the others I will test and come back
Offline
Is this because mount needs sudo??
As written, yes. But if you put it in your fstab properly you can mount it as a regular user.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
can fstab access my credentials on my encrypted home directory?
Last edited by dvaneijsden (2020-05-03 17:43:15)
Offline
I also tried pam_mount, but I cannot reproduce the error
Offline
Adding the follow line works with mount -a, but not after a reboot
//192.168.xxx.x/Media /mnt/Media cifs guest,uid=1000,iocharset=utf8 0 0
this is the result:
03-05-2020 19:50 kernel CIFS VFS: cifs_mount failed w/return code = -2
I think the network interface is not up yet.
Last edited by dvaneijsden (2020-05-03 18:24:53)
Offline
What do you think?
I think you should learn to use the edit button and stop bumping the thread:
https://wiki.archlinux.org/index.php/Co … ct#Bumping
Offline
Pages: 1