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
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.
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.
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