<div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif;font-size:large;color:#20124d">When dealing with cifs there are 3 versions (maybe more) of the protocol: 1.1, 2 and 3. I think that in each case u use different version.<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 24, 2018 at 1:25 PM, Shlomo Solomon <span dir="ltr"><<a href="mailto:shlomo.solomon@gmail.com" target="_blank">shlomo.solomon@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">solomon@shlomo1:~$ apt-cache policy cifs-utils<br>
cifs-utils:<br>
Installed: 2:6.8-1<br>
Candidate: 2:6.8-1<br>
Version table:<br>
*** 2:6.8-1 500<br>
500 <a href="http://il.archive.ubuntu.com/ubuntu" rel="noreferrer" target="_blank">http://il.archive.ubuntu.com/<wbr>ubuntu</a> bionic/main amd64<br>
Packages 100 /var/lib/dpkg/status<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On Fri, 24 Aug 2018 13:11:05 +0300<br>
Shay Gover <<a href="mailto:govershay@gmail.com">govershay@gmail.com</a>> wrote:<br>
<br>
> I think that in each case diffrent libraries are envolved. In the<br>
> second case it's cifs (what version?).<br>
> <br>
> On Fri, Aug 24, 2018, 09:57 Shlomo Solomon <<a href="mailto:shlomo.solomon@gmail.com">shlomo.solomon@gmail.com</a>><br>
> wrote:<br>
> <br>
> > Answering my own post with a solution, but I don't know WHY this<br>
> > works.<br>
> ><br>
> > I discovered that if I access fish://pi/media/PUBLIC/ in Dolphin<br>
> > the file ownerships are shown correctly.<br>
> ><br>
> > Can anyone tell me why this works when the following 2 don't?<br>
> ><br>
> > > If I access /mnt/PI-PUBLIC in Dolphin, all the files "seem" to be<br>
> > > owned by root.<br>
> > > If I access smb://solomon@pi/PI-PUBLIC/ then all the files<br>
> > > "seem" to be owned by solomon.<br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
> > On Fri, 17 Aug 2018 10:58:06 +0300<br>
> > Shlomo Solomon <<a href="mailto:shlomo@the-solomons.net">shlomo@the-solomons.net</a>> wrote:<br>
> ><br>
> > > Since moving from Mageia5 to Kubuntu 18.04 I have an annoying<br>
> > > problem.<br>
> > ><br>
> > > I have a Raspberry PI file server running Samba and sharing<br>
> > > PI-PUBLIC. Files are created (and owned) by various users.<br>
> > ><br>
> > > This is a mixed Linux and Windows network.<br>
> > > All Linux computers on the network (including the PI) have the<br>
> > > same users and UIDs, to prevent confusion about file ownership.<br>
> > > In the PI-PUBLIC section of smb.conf on the PI, all the relevant<br>
> > > users are listed as valid users =<br>
> > ><br>
> > > In Mageia I could mount the share with either of the<br>
> > > following /etc/fstab entries (note that pi is defined<br>
> > > in /etc/hosts):<br>
> > ><br>
> > > //pi/PI-PUBLIC /mnt/PI-PUBLIC cifs<br>
> > > username=solomon,password=<wbr>mypassword,rw,user 0 0<br>
> > ><br>
> > > //pi/PI-PUBLIC /mnt/PI-PUBLIC cifs<br>
> > > user,credentials=/etc/samba/<wbr>auth.pi.solomon 0 0<br>
> > ><br>
> > > But in Kubuntu, all the files "seem" to be owned by the wrong<br>
> > > user. If I access /mnt/PI-PUBLIC in Dolphin, all the files "seem"<br>
> > > to be owned by root.<br>
> > > If I access smb://solomon@pi/PI-PUBLIC/ then all the files<br>
> > > "seem" to be owned by solomon.<br>
> > ><br>
> > ><br>
> > ><br>
> ><br>
> ><br>
> ><br>
> > --<br>
> > Shlomo Solomon<br>
> > <a href="http://the-solomons.net" rel="noreferrer" target="_blank">http://the-solomons.net</a><br>
> > Claws Mail 3.16.0 - Kubuntu 18.04<br>
> ><br>
> > ______________________________<wbr>_________________<br>
> > Linux-il mailing list<br>
> > <a href="mailto:Linux-il@cs.huji.ac.il">Linux-il@cs.huji.ac.il</a><br>
> > <a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" rel="noreferrer" target="_blank">http://mailman.cs.huji.ac.il/<wbr>mailman/listinfo/linux-il</a><br>
> ><br>
<br>
<br>
<br>
-- <br>
Shlomo Solomon<br>
<a href="http://the-solomons.net" rel="noreferrer" target="_blank">http://the-solomons.net</a><br>
Claws Mail 3.16.0 - Kubuntu 18.04<br>
</div></div></blockquote></div><br></div>