Re: SOLVED but WHY? (was Re: problem with ownership of files on Samba share)

2018-08-24 Thread Shay Gover
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. On Fri, Aug 24, 2018 at 1:25 PM, Shlomo Solomon wrote: > solomon@shlomo1:~$ apt-cache policy cifs-utils > cifs-utils: > Installed: 2:6.8-1 > Candidate: 2

Re: SOLVED but WHY? (was Re: problem with ownership of files on Samba share)

2018-08-24 Thread Shlomo Solomon
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 wrote: > I thi

Re: SOLVED but WHY? (was Re: problem with ownership of files on Samba share)

2018-08-24 Thread Shlomo Solomon
I think you're pointing me in the right direction, but still missing something. Here's the output of mount | grep PI-PUBLIC solomon@shlomo1:~$ mount | grep PI-PUBLIC //pi/PI-PUBLIC on /mnt/PI-PUBLIC type cifs (rw,nosuid,nodev,noexec,relatime,vers=default,cache=strict,username=solomon,domain=,uid=0

Re: SOLVED but WHY? (was Re: problem with ownership of files on Samba share)

2018-08-24 Thread Shay Gover
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 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 Dol

Re: SOLVED but WHY? (was Re: problem with ownership of files on Samba share)

2018-08-24 Thread shimi
Maybe the Dolphin mount (via kio-smb I guess?) runs the mount command with parameters like uid=$USER,gid=$USER ? Have you compared the options of the two mounts when they're both mounted with "mount | grep PI-PUBLIC" ? On Fri, Aug 24, 2018 at 9:56 AM, Shlomo Solomon wrote: > Answering my own po

SOLVED but WHY? (was Re: problem with ownership of files on Samba share)

2018-08-23 Thread Shlomo Solomon
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 file

problem with ownership of files on Samba share

2018-08-17 Thread Shlomo Solomon
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 th