problem mounting a share

problem mounting a share

Shlomo Solomon shlomo.solomon at gmail.com
Sun Jan 3 14:14:18 IST 2021


I have a samba share on a Raspberry PI

I can map it to a Windows 10 computer (and the PI does not ask for a
password - as intended since this is a home network for the family). 

If I mount it on my Kubuntu machines, I DO need a password when
mounting manually with:

sudo mount //pi/PI-PUBLIC   /mnt/PI-PUBLIC -o
user,rw,username=MYUSER,password=PSWD

or in fstab
//pi/PI-PUBLIC  /mnt/PI-PUBLIC  cifs
user,username=MYUSER,password=PSWD  0   0

After mounting with either of the above, all files "seem" to be owned
by root, even though that is not true. And obviously I cannot update or
delete files.

If I do  smb://solomon@pi/PI-PUBLIC/  in Dolpin file manager, I'm also
asked for a password, but then something strange happens. I CAN read
and write files, but Dolphin does not show any permissions.

And finally, the only solution that DOES work "correctly" in Dolphin is:
fish://pi/media/PUBLIC/

BUT, I do have one "serious problem" with not being able to properly
mount the share. Libreoffice and KIO slave do not "play well together"
- a known issue - so the fish:// solution does not work.

What am I missing here? I know using samba to communicate between a PI
and Kubuntu is not the best way, but in the past, it did work for me
and I don't know what I screwed up. smb.conf on the PI has not changed
for MANY years, but I have done countless changes, updates and upgrades
to the Kubuntu (and before that Mandriva) machines.


-- 
Shlomo Solomon
http://the-solomons.net
Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04



More information about the Linux-il mailing list