An update to what I wrote: In Dolphin I can do: smb://solomon@pi and I see all the files with correct owners and permissions.
So this works, but NOT if I just click on the device in the left panel of Dolphin or if I access files from konsole. On Wed, 11 Jul 2018 10:32:03 +0300 Shlomo Solomon <shl...@the-solomons.net> wrote: > I'm setting up a new Kubuntu laptop. > > problem 1: > When I run samba, I get: > could not find the program 'gksu' > I googled and learned that gksu is depricated, but I haven't been able > to figure out how to run samba. Also: > sudo system-config-samba says there are MANY errors > in /etc/samba/smb.conf which is strange because I didn't edit the > existing file. > > problem 2: > I usually mount a shared drive on my Raspberry Pi with the following > fstab entry: > //pi/PI-PUBLIC /mnt/PI-PUBLIC cifs > user,credentials=/etc/samba/auth.pi.solomon 0 0 > > Since I don't have samba running, I did: > //pi/PI-PUBLIC /mnt/PI-PUBLIC cifs > username=solomon,password=abc,rw,user 0 0 > > When I look at files on the mounted drive, the owner and permissions > are wrong. > For example a file that should be: > -rw-rw-r-- 1 solomon solomon 34 Jul 11 09:55 tst.txt > looks like this: > -rwxr-xr-x 1 root root 34 Jul 11 09:55 tst.txt > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.11.1 - KDE 4.14.30 - Dolphin 4.14.3 - LINUX Mageia 5 _______________________________________________ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il