Developing KDE PIM with Docker

David Jarvie djarvie at kde.org
Fri Mar 9 17:09:13 GMT 2018


On Friday 03 Nov 2017 12:28:29 Sandro Knauß wrote:
> Hey,
> 
> > > ls -lsan ~/kdepim-dev
> > 
> > total 8
> > 4 drwxr-xr-x  2 1000 1000 4096 Nov  2 19:56 .
> > 4 drwxr-xr-x 60 1000 1000 4096 Nov  2 19:56 ..
> > 
> > > docker exec -it kdepim-dev ls -lsan /home/neon/kdepim
> > 
> > total 8
> > 4 drwxr-xr-x 2 1000 1000 4096 Nov  2 19:56 .
> > 4 drwxr-xr-x 6 1000 1001 4096 Nov  3 00:34 ..
> 
> ^^ did you see this? 1001 - this at least shows, that the homedir is not
> owned by the same group. Better run id inside and outside docker to look
> uid/gid: $ id
> uid=1000(neon) gid=1001(neon) groups=1001(neon),29(audio),44(video),
> 1000(admin)
> 
> This is my setting inside my docker setup.
> 
> Maybe standard linux tools are more verbose? Did you try create a
> folder/file inside kdepim folder with mkdir/touch.
> 
> Best regards,
> 
> sandro
> 
> PS: maybe via IRC is more help full here, cause we need to ask so many
> things back-and-forth - you find us at freenode #kontact

I finally got round to looking at this again, and have found the fix. In case 
anybody else has the same problem, here is the solution.

In run.sh, remove the parameter ":rw,z" from docker's -v option. Read-write is 
the default mount option anyway.

It isn't clear why my version of docker doesn't work with either :rw or :rw,z 
- even its manpage says :rw should work.

I'll add a note to the documentation on community.kde.org.

-- 
David Jarvie.
KDE developer.
KAlarm author -- http://www.astrojar.org.uk/kalarm



More information about the kde-pim mailing list