I use Manjaro KDE version following many problems with the programs Kdenlive, Digicam, Freecad…with Gnome. I’m repurposing Plasma and I have some curiosities to submit to you.
I have 2 NAS, a synology and a Qnap. I mounted these two NAS via fstab:
#Serveur Syno via smb //192.168.1.10/Famille/ /home/ServeursMaison/ServFamille cifs _netdev,credentials=/home/pympc/.smbcredentials1,auto,uid=1000,gid=1000,rw,vers=3.0 0 0
# Accès au NAS Qnap par cifs //192.168.1.17/Multimedia /home/ServeursMaison/ServPhotos cifs _netdev,credentials=/home/pympc/.smbcredentials4,auto,uid=1000,gid=1000,rw,sec=ntlmv2 0 0
On my wife’s PC, running Manjaro Gnome, everything works, the folders open and the contents are displayed. On my PC, only the synology wants to mount the Qnap does not want to know anything.
When I do in console
sudo mount -a ✔
[sudo] Mot de passe de pympc :
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
I checked the smbcredentials4 file and the user and password are the ones that allow me access to the Qnap Nas.
In Dolphin I have these elements:
Thanks for these leads. I made several attempts and after a while I gave in. I redid the file with a new name and….oh miraculously everything works. Is it because I copied the smbcredentials file from another PC via a USB stick. Was there a loss or problem during the transfer…I don’t know. But now everything works. On the other hand, I always have a repetition of my paths to the NAS and some have an icon which seems to inform me of a problem…
Possibly, the original file copied from the USB stick had the line breaks »the newlines« formatted as the DOS/Windows standard of a Carriage Return character (CR) followed by a Line Feed character (LF) »CR/LF« …
For UNIX® and Linux, a line break is simply a Line Feed character (LF).
Simply point “dos2unix” to your imported file and, the file’s format will be automagically corrected to that needed by Linux.
Thanks, I think there was a problem with the imported file. It works on my wife’s PC but not mine. dos2unix, I didn’t know, it is now on my PC, ready to use.
Thanks again