solomon@shlomo1:~$ apt-cache policy cifs-utils cifs-utils: Installed: 2:6.8-1 Candidate: 2:6.8-1 Version table: *** 2:6.8-1 500 500 http://il.archive.ubuntu.com/ubuntu bionic/main amd64 Packages 100 /var/lib/dpkg/status
On Fri, 24 Aug 2018 13:11:05 +0300 Shay Gover <govers...@gmail.com> wrote: > I think that in each case diffrent libraries are envolved. In the > second case it's cifs (what version?). > > On Fri, Aug 24, 2018, 09:57 Shlomo Solomon <shlomo.solo...@gmail.com> > wrote: > > > Answering my own post with a solution, but I don't know WHY this > > works. > > > > I discovered that if I access fish://pi/media/PUBLIC/ in Dolphin > > the file ownerships are shown correctly. > > > > Can anyone tell me why this works when the following 2 don't? > > > > > If I access /mnt/PI-PUBLIC in Dolphin, all the files "seem" to be > > > owned by root. > > > If I access smb://solomon@pi/PI-PUBLIC/ then all the files > > > "seem" to be owned by solomon. > > > > > > > > > > > > > > On Fri, 17 Aug 2018 10:58:06 +0300 > > Shlomo Solomon <shl...@the-solomons.net> wrote: > > > > > Since moving from Mageia5 to Kubuntu 18.04 I have an annoying > > > problem. > > > > > > I have a Raspberry PI file server running Samba and sharing > > > PI-PUBLIC. Files are created (and owned) by various users. > > > > > > This is a mixed Linux and Windows network. > > > All Linux computers on the network (including the PI) have the > > > same users and UIDs, to prevent confusion about file ownership. > > > In the PI-PUBLIC section of smb.conf on the PI, all the relevant > > > users are listed as valid users = > > > > > > In Mageia I could mount the share with either of the > > > following /etc/fstab entries (note that pi is defined > > > in /etc/hosts): > > > > > > //pi/PI-PUBLIC /mnt/PI-PUBLIC cifs > > > username=solomon,password=mypassword,rw,user 0 0 > > > > > > //pi/PI-PUBLIC /mnt/PI-PUBLIC cifs > > > user,credentials=/etc/samba/auth.pi.solomon 0 0 > > > > > > But in Kubuntu, all the files "seem" to be owned by the wrong > > > user. If I access /mnt/PI-PUBLIC in Dolphin, all the files "seem" > > > to be owned by root. > > > If I access smb://solomon@pi/PI-PUBLIC/ then all the files > > > "seem" to be owned by solomon. > > > > > > > > > > > > > > > > > -- > > Shlomo Solomon > > http://the-solomons.net > > Claws Mail 3.16.0 - Kubuntu 18.04 > > > > _______________________________________________ > > Linux-il mailing list > > Linux-il@cs.huji.ac.il > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 _______________________________________________ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il