Samba share issue - dolphin 21.12.3

samba share - dolphin 21.12.3 does not open files except PDF files
the files are all shown in dolphin I can create and delete files or folders, but I’m not allowed to read files e.g. TXT (dolphin shows file not found) I have set the share to chmod 777 for a test but it doesn’t change anything

SMB server: Ubuntu & Manjaro
Client: EOS latest

Using chmod on files shared over cifs/smb doesn’t do anything because those shares don’t support POSIX permissions. The rights are set at mount time.

I have two general recommendations for you

  • Your life will be much easier if you setup systemd automounts for your shares instead of trying to access them directly. While kio has gotten better there, it has never been great at it.
  • Don’t use smb/cifs to share files between Linux machines. nfs is a much better choice for this use case.
2 Likes

Thanks, I’ll try NFS!
The share system is also used as a print server, so I have used SMB at the beginning… all WIN systems have now been completely removed and only linux is used.

1 Like

Isn’t NFS security kinda meh though? I havent used nfs but What about SSHFS? I had really good results with it previously

1 Like

You can use sshfs if performance isn’t a priority.

That´s what I did too and it´s working great. Never want samba back. If you need help with it, feel free to ask here again @cluster

OK, works so far!
is this configuration correct & optimal for a good copy perfomance?

Ubuntu Xfce NFS server:
sudo mkdir -p /mnt/nfs_share
sudo chown -R nobody:nogroup /mnt/nfs_share
sudo chmod 777 /mnt/nfs_share
sudo nano /etc/exports
/mnt/nfs_share 192.168.0.0/24(rw,sync,no_subtree_check)
sudo exportfs -a
sudo systemctl restart nfs-kernel-server
sudo ufw allow from  192.168.0.0/24 to any port nfs


EOS KDE client:
sudo mkdir -p /mnt/share
sudo nano /etc/fstab
SHARE-PC:/mnt/nfs_share   /mnt/share   nfs auto,x-systemd.automount,x-systemd.device-timeout=10,timeo=14,x-systemd.idle-timeout=1min 0 0

sudo nano /etc/systemd/system/mnt-share.automount
[Unit]
Description=share

[Automount]
Where=/mnt/share
TimeoutIdleSec=0

[Install]
WantedBy=multi-user.target


sudo systemctl enable mnt-share.automount

network printer
should I keep the printers connected via SMB or better uninstall (remove) samba?
what is the best way to reach the network printers without SMB, is there an example?

hm it’s weird… i can only print via SMB and filesharing only works via NFS …

printer setup via ipp ( Internet Printing Protocol)
ipp://SHARE-PC:631/printers/ML-1640-Series
it goes into the print-server queue but the status shows “stopped” nothing happens

got it solved w/ ipps :upside_down_face:
ipps://192.168.0.99/printers/ML-1640-Series

1 Like