From shlomo.solomon at gmail.com Mon Aug 6 18:33:12 2018 From: shlomo.solomon at gmail.com (Shlomo Solomon) Date: Mon, 6 Aug 2018 18:33:12 +0300 Subject: incorrect icons on Kubuntu desktop Message-ID: <20180806183312.531e75e0@shlomo1.solomon> I have a few links to applications such as wireshark, krdc, Virtualbox on my Kubuntu desktop. For some reason, today all of these links no longer have the correct icon but "look like" text files. Strangely, in each icon I can see a "preview" of some text. If I right-click > properties I see the correct icon. If I drag one of them to the panel, the icon appears correctly on the panel. When I login, I can see the correct icons on the desktop for about one second and then they all "magically" change to look like text file icons again. Any idea what is causing this? -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 From shlomo.solomon at gmail.com Tue Aug 7 07:48:41 2018 From: shlomo.solomon at gmail.com (Shlomo Solomon) Date: Tue, 7 Aug 2018 07:48:41 +0300 Subject: SOLVED (was: incorrect icons on Kubuntu desktop) In-Reply-To: <20180806183312.531e75e0@shlomo1.solomon> References: <20180806183312.531e75e0@shlomo1.solomon> Message-ID: <20180807074841.3f45974f@shlomo1.solomon> Answering my own post - in case this can help others. I found the problem. In Desktop Folder Settings, I un-checked Preview Thumbnails and everything is back to normal. On Mon, 6 Aug 2018 18:33:12 +0300 Shlomo Solomon wrote: > I have a few links to applications such as wireshark, krdc, Virtualbox > on my Kubuntu desktop. > > For some reason, today all of these links no longer have the correct > icon but "look like" text files. Strangely, in each icon I can see a > "preview" of some text. > > If I right-click > properties I see the correct icon. > > If I drag one of them to the panel, the icon appears correctly on the > panel. > > When I login, I can see the correct icons on the desktop for about one > second and then they all "magically" change to look like text file > icons again. > > Any idea what is causing this? > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 From shlomo.solomon at gmail.com Tue Aug 7 10:17:18 2018 From: shlomo.solomon at gmail.com (Shlomo Solomon) Date: Tue, 7 Aug 2018 10:17:18 +0300 Subject: KDE-Services - store.kde.org Message-ID: <20180807101718.1ab20aee@shlomo1.solomon> I just wanted to recommend a fantastic KDE service menu that I just installed - adds over 150 right-click menu items. Of course this can be customized since most people will only find some of them useful :-). https://store.kde.org/p/998464 -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 From poder.pinguino at gmail.com Tue Aug 7 19:02:53 2018 From: poder.pinguino at gmail.com (Amichai Rotman) Date: Tue, 7 Aug 2018 19:02:53 +0300 Subject: Using Scribus DTP with Hebrew Message-ID: Hi All, I'd like to try translating a Linux related magazine that uses Scribus [1] as their DTP ( I get the original Scribus file in English). I know this issue was addressed a few years back and I wanted to know where things are right now with Scribus Hebrew Support... Thanks, Amichai Rotman [1] https://wiki.scribus.net/canvas/Scribus -------------- next part -------------- An HTML attachment was scrubbed... URL: From shlomo.solomon at gmail.com Wed Aug 8 20:53:53 2018 From: shlomo.solomon at gmail.com (Shlomo Solomon) Date: Wed, 8 Aug 2018 20:53:53 +0300 Subject: Krusader - ROOT mode Message-ID: <20180808205353.44da8ab7@shlomo1.solomon> I use single-click to select in Dolphin and Krusader. But in ROOT mode krusader I have not succeeded in changing the double-click to single-click. I tried all the options in the panel selection mode screen. -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 From shlomo.solomon at gmail.com Sun Aug 12 10:54:27 2018 From: shlomo.solomon at gmail.com (Shlomo Solomon) Date: Sun, 12 Aug 2018 10:54:27 +0300 Subject: Mageia msec equivalent Message-ID: <20180812105427.6adbeb98@shlomo1.solomon> Does anyone know of anything equivalent to Mageia's msec on Ubuntu/Kubuntu? For those not familiar with Mageia, I'm referring to a set of scripts, cron jobs and programs with a very nice GUI to handle, change and audit various security settings. Just a few examples: - allow a specific user to do certain tasks - report/or not when certain settings are changed - set permissions for specific files and/or types of files - and optionally "enforce" these permissions by resetting any un-authorized changes (done by a nightly cron job) - extensive and configurable logging and reporting -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 From levonshe at yandex.com Wed Aug 15 13:25:18 2018 From: levonshe at yandex.com (Lev Olshvang) Date: Wed, 15 Aug 2018 13:25:18 +0300 Subject: How to unwind kernel stack to seek for specific caller? Message-ID: <18628541534328718@sas1-02732547ccc0.qloud-c.yandex.net> Hello all linuxers, I am writing a LSM kernel module which had register hook to mmap() I need to know whether this call came from elf loader or other code path. I know that I can print stack of function using dump_stack(), in this case I should seek within kmsg buffer. I see that kmsg_dump_get_buffer() function can get kernel messages but it is mot clear for me how I can get parameters of this functions Regards, Lev From shlomo.solomon at gmail.com Wed Aug 15 19:01:30 2018 From: shlomo.solomon at gmail.com (Shlomo Solomon) Date: Wed, 15 Aug 2018 19:01:30 +0300 Subject: Hebrew file names in Libreoffice Message-ID: <20180815190130.1febfcac@shlomo1.solomon> On my new Kubuntu 18.04 box, Libreoffice will not open files with Hebrew names - says file does not exist. On a Windows 10 machine Libreoffice has no problem with the same files. And a really strange thing - if I run Libreoffice from the command line instead of clicking on an icon or the KDE menu, it works fine. I thought this was a utf-8 problem, but my locale seems to be correct. $ locale LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL=en_US.UTF-8 What am I missing? -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 From govershay at gmail.com Wed Aug 15 19:22:12 2018 From: govershay at gmail.com (Shay Gover) Date: Wed, 15 Aug 2018 19:22:12 +0300 Subject: Hebrew file names in Libreoffice In-Reply-To: <20180815190130.1febfcac@shlomo1.solomon> References: <20180815190130.1febfcac@shlomo1.solomon> Message-ID: Try adding Hebrew locale. On Wed, Aug 15, 2018 at 7:01 PM, Shlomo Solomon wrote: > On my new Kubuntu 18.04 box, Libreoffice will not open files with > Hebrew names - says file does not exist. > > On a Windows 10 machine Libreoffice has no problem with the same files. > > And a really strange thing - if I run Libreoffice from the command line > instead of clicking on an icon or the KDE menu, it works fine. > > I thought this was a utf-8 problem, but my locale seems to be correct. > > $ locale > LANG=en_US.UTF-8 > LANGUAGE=en_US.UTF-8 > LC_CTYPE="en_US.UTF-8" > LC_NUMERIC="en_US.UTF-8" > LC_TIME="en_US.UTF-8" > LC_COLLATE="en_US.UTF-8" > LC_MONETARY="en_US.UTF-8" > LC_MESSAGES="en_US.UTF-8" > LC_PAPER="en_US.UTF-8" > LC_NAME="en_US.UTF-8" > LC_ADDRESS="en_US.UTF-8" > LC_TELEPHONE="en_US.UTF-8" > LC_MEASUREMENT="en_US.UTF-8" > LC_IDENTIFICATION="en_US.UTF-8" > LC_ALL=en_US.UTF-8 > > What am I missing? > > -- > Shlomo Solomon > http://the-solomons.net > Claws Mail 3.16.0 - Kubuntu 18.04 > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shlomo.solomon at gmail.com Wed Aug 15 19:44:33 2018 From: shlomo.solomon at gmail.com (Shlomo Solomon) Date: Wed, 15 Aug 2018 19:44:33 +0300 Subject: Hebrew file names in Libreoffice In-Reply-To: References: <20180815190130.1febfcac@shlomo1.solomon> Message-ID: <20180815194433.2c536bba@shlomo1.solomon> Thanks. I did try adding Hebrew locale but that did not help and also had an un-expected side effect - Some programs (for example smbc) ran with a Hebrew interface. BTW - on my Mageia boxes, with en_US.UTF-8 Libreoffice works perfectly. On Wed, 15 Aug 2018 19:22:12 +0300 Shay Gover wrote: > Try adding Hebrew locale. > > On Wed, Aug 15, 2018 at 7:01 PM, Shlomo Solomon > wrote: > > > On my new Kubuntu 18.04 box, Libreoffice will not open files with > > Hebrew names - says file does not exist. > > > > On a Windows 10 machine Libreoffice has no problem with the same > > files. > > > > And a really strange thing - if I run Libreoffice from the command > > line instead of clicking on an icon or the KDE menu, it works fine. > > > > I thought this was a utf-8 problem, but my locale seems to be > > correct. > > > > $ locale > > LANG=en_US.UTF-8 > > LANGUAGE=en_US.UTF-8 > > LC_CTYPE="en_US.UTF-8" > > LC_NUMERIC="en_US.UTF-8" > > LC_TIME="en_US.UTF-8" > > LC_COLLATE="en_US.UTF-8" > > LC_MONETARY="en_US.UTF-8" > > LC_MESSAGES="en_US.UTF-8" > > LC_PAPER="en_US.UTF-8" > > LC_NAME="en_US.UTF-8" > > LC_ADDRESS="en_US.UTF-8" > > LC_TELEPHONE="en_US.UTF-8" > > LC_MEASUREMENT="en_US.UTF-8" > > LC_IDENTIFICATION="en_US.UTF-8" > > LC_ALL=en_US.UTF-8 > > > > What am I missing? > > > > -- > > Shlomo Solomon > > http://the-solomons.net > > Claws Mail 3.16.0 - Kubuntu 18.04 > > > > _______________________________________________ > > Linux-il mailing list > > Linux-il at 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 From shlomo.solomon at gmail.com Thu Aug 16 12:30:46 2018 From: shlomo.solomon at gmail.com (Shlomo Solomon) Date: Thu, 16 Aug 2018 12:30:46 +0300 Subject: Hebrew file names in Libreoffice In-Reply-To: <20180815194433.2c536bba@shlomo1.solomon> References: <20180815190130.1febfcac@shlomo1.solomon> <20180815194433.2c536bba@shlomo1.solomon> Message-ID: <20180816123046.06f1260a@shlomo1.solomon> After more research, I'm pretty sure this is a KDE-Libreoffice interaction problem, but don't know how to solve it. Here's a summary of what I know and tried - #6 is really interesting/strange. 1 - click on a Hebrew file name - libreoffice says file does not exist. 2 - click on Libreoffice icon + try to open a Hebrew name - same result 3 - run libreoffice from command line - works OK 4 - sudo libreoffice also works OK but that's a BAD solution 5 - created a KDE "link to application" and chose "run in terminal" - libreoffice says file does not exist 6 - created a KDE "link to application" and chose "run in terminal" + "run as a different user" - KDE asks for a password and libreoffice works OK. NOTE: As the "other" user I chose my regular username!!! 7 - I read that the libreoffice-kde can cause problems so I un-installed it, but that didn't help (and it made a mess of the file open/save dialogue). As I already wrote, locale is set to en_US.UTF-8 solomon at shlomo1:~$ localectl System Locale: LANG=en_US.utf8 VC Keymap: n/a X11 Layout: us X11 Model: pc105 solomon at shlomo1:~$ locale LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL=en_US.UTF-8 BTW - is there any significance to the fact that some of the above lines say "en_US.UTF-8" and others en_US.UTF-8? Any help would be appreciated On Wed, 15 Aug 2018 19:44:33 +0300 Shlomo Solomon wrote: > Thanks. > > I did try adding Hebrew locale but that did not help and also had an > un-expected side effect - Some programs (for example smbc) ran with > a Hebrew interface. > > BTW - on my Mageia boxes, with en_US.UTF-8 Libreoffice works > perfectly. > > > > On Wed, 15 Aug 2018 19:22:12 +0300 > Shay Gover wrote: > > > Try adding Hebrew locale. > > > > On Wed, Aug 15, 2018 at 7:01 PM, Shlomo Solomon > > wrote: > > > > > On my new Kubuntu 18.04 box, Libreoffice will not open files with > > > Hebrew names - says file does not exist. > > > > > > On a Windows 10 machine Libreoffice has no problem with the same > > > files. > > > > > > And a really strange thing - if I run Libreoffice from the command > > > line instead of clicking on an icon or the KDE menu, it works > > > fine. > > > > > > I thought this was a utf-8 problem, but my locale seems to be > > > correct. > > > > > > $ locale > > > LANG=en_US.UTF-8 > > > LANGUAGE=en_US.UTF-8 > > > LC_CTYPE="en_US.UTF-8" > > > LC_NUMERIC="en_US.UTF-8" > > > LC_TIME="en_US.UTF-8" > > > LC_COLLATE="en_US.UTF-8" > > > LC_MONETARY="en_US.UTF-8" > > > LC_MESSAGES="en_US.UTF-8" > > > LC_PAPER="en_US.UTF-8" > > > LC_NAME="en_US.UTF-8" > > > LC_ADDRESS="en_US.UTF-8" > > > LC_TELEPHONE="en_US.UTF-8" > > > LC_MEASUREMENT="en_US.UTF-8" > > > LC_IDENTIFICATION="en_US.UTF-8" > > > LC_ALL=en_US.UTF-8 > > > > > > What am I missing? > > > > > > -- > > > Shlomo Solomon > > > http://the-solomons.net > > > Claws Mail 3.16.0 - Kubuntu 18.04 > > > > > > _______________________________________________ > > > Linux-il mailing list > > > Linux-il at 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 From shlomo.solomon at gmail.com Thu Aug 16 13:14:06 2018 From: shlomo.solomon at gmail.com (Shlomo Solomon) Date: Thu, 16 Aug 2018 13:14:06 +0300 Subject: SOLVED!!!! (was Re: Hebrew file names in Libreoffice) In-Reply-To: <20180816123046.06f1260a@shlomo1.solomon> References: <20180815190130.1febfcac@shlomo1.solomon> <20180815194433.2c536bba@shlomo1.solomon> <20180816123046.06f1260a@shlomo1.solomon> Message-ID: <20180816131406.348e541d@shlomo1.solomon> After searching for any file that seems related to locale, I deleted the following files (after saving a backup - just in case): ~/.config/plasma-locale-settings.sh ~/.config/plasma-localerc They were re-generated on login. So it certainly WAS a KDE problem, but I have no idea why this solved the problem. On Thu, 16 Aug 2018 12:30:46 +0300 Shlomo Solomon wrote: > After more research, I'm pretty sure this is a KDE-Libreoffice > interaction problem, but don't know how to solve it. Here's a summary > of what I know and tried - #6 is really interesting/strange. > > 1 - click on a Hebrew file name - libreoffice says file does not > exist. 2 - click on Libreoffice icon + try to open a Hebrew name - > same result 3 - run libreoffice from command line - works OK > 4 - sudo libreoffice also works OK but that's a BAD solution > 5 - created a KDE "link to application" and chose "run in terminal" - > libreoffice says file does not exist > 6 - created a KDE "link to application" and chose "run in terminal" + > "run as a different user" - KDE asks for a password and libreoffice > works OK. NOTE: As the "other" user I chose my regular username!!! > 7 - I read that the libreoffice-kde can cause problems so I > un-installed it, but that didn't help (and it made a mess of the file > open/save dialogue). > > > > As I already wrote, locale is set to en_US.UTF-8 > > solomon at shlomo1:~$ localectl > System Locale: LANG=en_US.utf8 > VC Keymap: n/a > X11 Layout: us > X11 Model: pc105 > > solomon at shlomo1:~$ locale > LANG=en_US.UTF-8 > LANGUAGE=en_US.UTF-8 > LC_CTYPE="en_US.UTF-8" > LC_NUMERIC="en_US.UTF-8" > LC_TIME="en_US.UTF-8" > LC_COLLATE="en_US.UTF-8" > LC_MONETARY="en_US.UTF-8" > LC_MESSAGES="en_US.UTF-8" > LC_PAPER="en_US.UTF-8" > LC_NAME="en_US.UTF-8" > LC_ADDRESS="en_US.UTF-8" > LC_TELEPHONE="en_US.UTF-8" > LC_MEASUREMENT="en_US.UTF-8" > LC_IDENTIFICATION="en_US.UTF-8" > LC_ALL=en_US.UTF-8 > > BTW - is there any significance to the fact that some of the above > lines say "en_US.UTF-8" and others en_US.UTF-8? > > Any help would be appreciated > > > > > > On Wed, 15 Aug 2018 19:44:33 +0300 > Shlomo Solomon wrote: > > > Thanks. > > > > I did try adding Hebrew locale but that did not help and also had an > > un-expected side effect - Some programs (for example smbc) ran with > > a Hebrew interface. > > > > BTW - on my Mageia boxes, with en_US.UTF-8 Libreoffice works > > perfectly. > > > > > > > > On Wed, 15 Aug 2018 19:22:12 +0300 > > Shay Gover wrote: > > > > > Try adding Hebrew locale. > > > > > > On Wed, Aug 15, 2018 at 7:01 PM, Shlomo Solomon > > > wrote: > > > > > > > On my new Kubuntu 18.04 box, Libreoffice will not open files > > > > with Hebrew names - says file does not exist. > > > > > > > > On a Windows 10 machine Libreoffice has no problem with the same > > > > files. > > > > > > > > And a really strange thing - if I run Libreoffice from the > > > > command line instead of clicking on an icon or the KDE menu, it > > > > works fine. > > > > > > > > I thought this was a utf-8 problem, but my locale seems to be > > > > correct. > > > > > > > > $ locale > > > > LANG=en_US.UTF-8 > > > > LANGUAGE=en_US.UTF-8 > > > > LC_CTYPE="en_US.UTF-8" > > > > LC_NUMERIC="en_US.UTF-8" > > > > LC_TIME="en_US.UTF-8" > > > > LC_COLLATE="en_US.UTF-8" > > > > LC_MONETARY="en_US.UTF-8" > > > > LC_MESSAGES="en_US.UTF-8" > > > > LC_PAPER="en_US.UTF-8" > > > > LC_NAME="en_US.UTF-8" > > > > LC_ADDRESS="en_US.UTF-8" > > > > LC_TELEPHONE="en_US.UTF-8" > > > > LC_MEASUREMENT="en_US.UTF-8" > > > > LC_IDENTIFICATION="en_US.UTF-8" > > > > LC_ALL=en_US.UTF-8 > > > > > > > > What am I missing? > > > > > > > > -- > > > > Shlomo Solomon > > > > http://the-solomons.net > > > > Claws Mail 3.16.0 - Kubuntu 18.04 > > > > > > > > _______________________________________________ > > > > Linux-il mailing list > > > > Linux-il at 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 From shachar at shemesh.biz Thu Aug 16 13:41:04 2018 From: shachar at shemesh.biz (Shachar Shemesh) Date: Thu, 16 Aug 2018 13:41:04 +0300 Subject: Hebrew file names in Libreoffice In-Reply-To: <20180816123046.06f1260a@shlomo1.solomon> References: <20180815190130.1febfcac@shlomo1.solomon> <20180815194433.2c536bba@shlomo1.solomon> <20180816123046.06f1260a@shlomo1.solomon> Message-ID: On 16/08/2018 12:30, Shlomo Solomon wrote: > After more research, I'm pretty sure this is a KDE-Libreoffice > interaction problem, but don't know how to solve it. Here's a summary of > what I know and tried - #6 is really interesting/strange. > > 1 - click on a Hebrew file name - libreoffice says file does not exist. > 2 - click on Libreoffice icon + try to open a Hebrew name - same result > 3 - run libreoffice from command line - works OK > 4 - sudo libreoffice also works OK but that's a BAD solution > 5 - created a KDE "link to application" and chose "run in terminal" - > libreoffice says file does not exist > 6 - created a KDE "link to application" and chose "run in terminal" + > "run as a different user" - KDE asks for a password and libreoffice > works OK. NOTE: As the "other" user I chose my regular username!!! > 7 - I read that the libreoffice-kde can cause problems so I > un-installed it, but that didn't help (and it made a mess of the file > open/save dialogue). > > As I already wrote, locale is set to en_US.UTF-8 > > solomon at shlomo1:~$ localectl > System Locale: LANG=en_US.utf8 > VC Keymap: n/a > X11 Layout: us > X11 Model: pc105 > > solomon at shlomo1:~$ locale > LANG=en_US.UTF-8 > LANGUAGE=en_US.UTF-8 > LC_CTYPE="en_US.UTF-8" > LC_NUMERIC="en_US.UTF-8" > LC_TIME="en_US.UTF-8" > LC_COLLATE="en_US.UTF-8" > LC_MONETARY="en_US.UTF-8" > LC_MESSAGES="en_US.UTF-8" > LC_PAPER="en_US.UTF-8" > LC_NAME="en_US.UTF-8" > LC_ADDRESS="en_US.UTF-8" > LC_TELEPHONE="en_US.UTF-8" > LC_MEASUREMENT="en_US.UTF-8" > LC_IDENTIFICATION="en_US.UTF-8" > LC_ALL=en_US.UTF-8 At this point, if you run libreoffice from the command line, does it then work? > BTW - is there any significance to the fact that some of the above > lines say "en_US.UTF-8" and others en_US.UTF-8? > > Any help would be appreciated Those with the quotes are inferred. For me, the problem was that some of those lines said "en_IL.UTF-8", which is a locale that does not exist. Shachar -------------- next part -------------- An HTML attachment was scrubbed... URL: From w1 at zak.co.il Thu Aug 16 14:23:47 2018 From: w1 at zak.co.il (Omer Zak) Date: Thu, 16 Aug 2018 14:23:47 +0300 Subject: SOLVED!!!! (was Re: Hebrew file names in Libreoffice) In-Reply-To: <20180816131406.348e541d@shlomo1.solomon> References: <20180815190130.1febfcac@shlomo1.solomon> <20180815194433.2c536bba@shlomo1.solomon> <20180816123046.06f1260a@shlomo1.solomon> <20180816131406.348e541d@shlomo1.solomon> Message-ID: <1534418627.11663.67.camel@zak.co.il> Did you run 'diff' on the two plasma-locale* files from before and after deletion & regeneration? If yes, can you please share the results with the curious among us? On Thu, 2018-08-16 at 13:14 +0300, Shlomo Solomon wrote: > After searching for any file that seems related to locale, I deleted > the following files (after saving a backup - just in case):? > ~/.config/plasma-locale-settings.sh > ~/.config/plasma-localerc > > They were re-generated on login.? > > So it certainly WAS a KDE problem, but I have no idea why this solved > the problem. > > > > > > > On Thu, 16 Aug 2018 12:30:46 +0300 > Shlomo Solomon wrote: > > > After more research, I'm pretty sure this is a KDE-Libreoffice > > interaction problem, but don't know how to solve it. Here's a > > summary > > of what I know and tried - #6 is really interesting/strange. > > > > 1 - click on a Hebrew file name - libreoffice says file does not > > exist. 2 - click on Libreoffice icon + try to open a Hebrew name - > > same result 3 - run libreoffice from command line - works OK > > 4 - sudo libreoffice also works OK but that's a BAD solution > > 5 - created a KDE "link to application" and chose "run in terminal" > > - > > libreoffice says file does not exist > > 6 - created a KDE "link to application" and chose "run in > > terminal"??+ > > "run as a different user" - KDE asks for a password and libreoffice > > works OK.????NOTE: As the "other" user I chose my regular > > username!!! > > 7 - I read that the libreoffice-kde can cause problems so I > > un-installed it, but that didn't help (and it made a mess of the > > file > > open/save dialogue).? > > > > > > > > As I already wrote, locale is set to en_US.UTF-8 > > > > solomon at shlomo1:~$ localectl > > ???System Locale: LANG=en_US.utf8 > > ???????VC Keymap: n/a > > ??????X11 Layout: us > > ???????X11 Model: pc105 > > > > solomon at shlomo1:~$ locale > > LANG=en_US.UTF-8 > > LANGUAGE=en_US.UTF-8 > > LC_CTYPE="en_US.UTF-8" > > LC_NUMERIC="en_US.UTF-8" > > LC_TIME="en_US.UTF-8" > > LC_COLLATE="en_US.UTF-8" > > LC_MONETARY="en_US.UTF-8" > > LC_MESSAGES="en_US.UTF-8" > > LC_PAPER="en_US.UTF-8" > > LC_NAME="en_US.UTF-8" > > LC_ADDRESS="en_US.UTF-8" > > LC_TELEPHONE="en_US.UTF-8" > > LC_MEASUREMENT="en_US.UTF-8" > > LC_IDENTIFICATION="en_US.UTF-8" > > LC_ALL=en_US.UTF-8 > > > > BTW - is there any significance to the fact that some of the above > > lines say??"en_US.UTF-8"??and others en_US.UTF-8? > > > > Any help would be appreciated > > > > > > > > > > > > On Wed, 15 Aug 2018 19:44:33 +0300 > > Shlomo Solomon wrote: > > > > > Thanks. > > > > > > I did try adding Hebrew locale but that did not help and also had > > > an > > > un-expected side effect - Some programs (for example smbc) ran > > > with > > > a Hebrew interface. > > > > > > BTW - on my Mageia boxes, with en_US.UTF-8 Libreoffice works > > > perfectly.? > > > > > > > > > > > > On Wed, 15 Aug 2018 19:22:12 +0300 > > > Shay Gover wrote: > > > > > > > Try adding Hebrew locale. > > > > > > > > On Wed, Aug 15, 2018 at 7:01 PM, Shlomo Solomon > > > > wrote: > > > > ?? > > > > > On my new Kubuntu 18.04 box, Libreoffice will not open files > > > > > with Hebrew names - says file does not exist. > > > > > > > > > > On a Windows 10 machine Libreoffice has no problem with the > > > > > same > > > > > files. > > > > > > > > > > And a really strange thing - if I run Libreoffice from the > > > > > command line instead of clicking on an icon or the KDE menu, > > > > > it > > > > > works fine. > > > > > > > > > > I thought this was a utf-8 problem, but my locale seems to be > > > > > correct. > > > > > > > > > > $ locale > > > > > LANG=en_US.UTF-8 > > > > > LANGUAGE=en_US.UTF-8 > > > > > LC_CTYPE="en_US.UTF-8" > > > > > LC_NUMERIC="en_US.UTF-8" > > > > > LC_TIME="en_US.UTF-8" > > > > > LC_COLLATE="en_US.UTF-8" > > > > > LC_MONETARY="en_US.UTF-8" > > > > > LC_MESSAGES="en_US.UTF-8" > > > > > LC_PAPER="en_US.UTF-8" > > > > > LC_NAME="en_US.UTF-8" > > > > > LC_ADDRESS="en_US.UTF-8" > > > > > LC_TELEPHONE="en_US.UTF-8" > > > > > LC_MEASUREMENT="en_US.UTF-8" > > > > > LC_IDENTIFICATION="en_US.UTF-8" > > > > > LC_ALL=en_US.UTF-8 > > > > > > > > > > What am I missing? -- As long as there are families which throw their teenager sons and daughters out of home if they turn out to be gays or lesbians, Gay Pride Parade events are needed. As long as the most common cause of suicide by teenagers is their finding out that they are gays or lesbians, Gay Pride Parade events are needed. My own blog is at https://tddpirate.zak.co.il/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS:??at https://www.zak.co.il/spamwarning.html From shlomo.solomon at gmail.com Thu Aug 16 15:54:08 2018 From: shlomo.solomon at gmail.com (Shlomo Solomon) Date: Thu, 16 Aug 2018 15:54:08 +0300 Subject: en_IL.UTF-8 (was Re: Hebrew file names in Libreoffice) In-Reply-To: References: <20180815190130.1febfcac@shlomo1.solomon> <20180815194433.2c536bba@shlomo1.solomon> <20180816123046.06f1260a@shlomo1.solomon> Message-ID: <20180816155408.2363819e@shlomo1.solomon> Why do you say that en_IL.UTF-8 does not exist? solomon at shlomo1:~$ localectl list-locales|grep en_IL en_IL en_IL.utf8 And in any case, you should be able to correct any problem with: localectl set-locale LANG=en_US.utf8 Probably not essential, but I personally also added the following lines to ~/.bashrc export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 export LANGUAGE=en_US.UTF-8 On Thu, 16 Aug 2018 13:41:04 +0300 Shachar Shemesh wrote: > > BTW - is there any significance to the fact that some of the above > > lines say "en_US.UTF-8" and others en_US.UTF-8? > > > > Any help would be appreciated > > Those with the quotes are inferred. > > For me, the problem was that some of those lines said "en_IL.UTF-8", > which is a locale that does not exist. > > Shachar > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 From shlomo.solomon at gmail.com Thu Aug 16 16:03:57 2018 From: shlomo.solomon at gmail.com (Shlomo Solomon) Date: Thu, 16 Aug 2018 16:03:57 +0300 Subject: SOLVED!!!! (was Re: Hebrew file names in Libreoffice) In-Reply-To: <1534418627.11663.67.camel@zak.co.il> References: <20180815190130.1febfcac@shlomo1.solomon> <20180815194433.2c536bba@shlomo1.solomon> <20180816123046.06f1260a@shlomo1.solomon> <20180816131406.348e541d@shlomo1.solomon> <1534418627.11663.67.camel@zak.co.il> Message-ID: <20180816160357.79a4719b@shlomo1.solomon> On Thu, 16 Aug 2018 14:23:47 +0300 Omer Zak wrote: > Did you run 'diff' on the two plasma-locale* files from before and > after deletion & regeneration? > If yes, can you please share the results with the curious among us? The original files (which I deleted): ~/.config/plasma-localerc [Formats] LANG=en_IL [Translations] LANGUAGE=en_US ~/.config/plasma-locale-settings.sh export LANG=en_IL export LANGUAGE=en_US The new files after logoff-login: ~/.config/plasma-localerc [Translations] LANGUAGE=en_US ~/.config/plasma-locale-settings.sh export LANGUAGE=en_US -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 From levonshe at yandex.com Thu Aug 16 17:24:30 2018 From: levonshe at yandex.com (Lev Olshvang) Date: Thu, 16 Aug 2018 17:24:30 +0300 Subject: How much kernel stack can be used in non-terminal function inside module ? Message-ID: <14841341534429470@myt5-c56023d17c6b.qloud-c.yandex.net> Having the kernel stack is limited to 4K, how can I know how many of this 4K was used before mu function X() is called ? I need to extract 512 bytes of some data from storage using vfs_getxattr(). I can call for kmalloc or just use buffer on stack. But how can assess whether I can safely do this or not ? What was the stack utilization till my function was called, how much space is left? And while I may take a diff of SP and Stack segment register to know stack utilization to the current moment ( I wonder whether if there are some kernel macro exist?) I do knot know how to calculate future consumption of stack memory down the vfs call chain. Regards, Lev From shlomo.solomon at gmail.com Fri Aug 17 10:58:06 2018 From: shlomo.solomon at gmail.com (Shlomo Solomon) Date: Fri, 17 Aug 2018 10:58:06 +0300 Subject: problem with ownership of files on Samba share Message-ID: <20180817105806.7d100635@shlomo1.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 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 at 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 From poder.pinguino at gmail.com Fri Aug 17 21:12:00 2018 From: poder.pinguino at gmail.com (Amichai Rotman) Date: Fri, 17 Aug 2018 21:12:00 +0300 Subject: Hebrew file names in Libreoffice In-Reply-To: References: <20180815190130.1febfcac@shlomo1.solomon> <20180815194433.2c536bba@shlomo1.solomon> <20180816123046.06f1260a@shlomo1.solomon> Message-ID: It might be a permissions problem on the "kde-link" file. I haven't used KDE for years now, so I don't know where to look. In unity, all launchers are in the ~/.config directory. Amichai ??????? ??? ??, 16 ????? 2018 ?-13:41 ??? ?Shachar Shemesh?? :? > On 16/08/2018 12:30, Shlomo Solomon wrote: > > After more research, I'm pretty sure this is a KDE-Libreoffice > interaction problem, but don't know how to solve it. Here's a summary of > what I know and tried - #6 is really interesting/strange. > > 1 - click on a Hebrew file name - libreoffice says file does not exist. > 2 - click on Libreoffice icon + try to open a Hebrew name - same result > 3 - run libreoffice from command line - works OK > 4 - sudo libreoffice also works OK but that's a BAD solution > 5 - created a KDE "link to application" and chose "run in terminal" - > libreoffice says file does not exist > 6 - created a KDE "link to application" and chose "run in terminal" + > "run as a different user" - KDE asks for a password and libreoffice > works OK. NOTE: As the "other" user I chose my regular username!!! > 7 - I read that the libreoffice-kde can cause problems so I > un-installed it, but that didn't help (and it made a mess of the file > open/save dialogue). > > > > As I already wrote, locale is set to en_US.UTF-8 > solomon at shlomo1:~$ localectl > System Locale: LANG=en_US.utf8 > VC Keymap: n/a > X11 Layout: us > X11 Model: pc105 > solomon at shlomo1:~$ locale > LANG=en_US.UTF-8 > LANGUAGE=en_US.UTF-8 > LC_CTYPE="en_US.UTF-8" > LC_NUMERIC="en_US.UTF-8" > LC_TIME="en_US.UTF-8" > LC_COLLATE="en_US.UTF-8" > LC_MONETARY="en_US.UTF-8" > LC_MESSAGES="en_US.UTF-8" > LC_PAPER="en_US.UTF-8" > LC_NAME="en_US.UTF-8" > LC_ADDRESS="en_US.UTF-8" > LC_TELEPHONE="en_US.UTF-8" > LC_MEASUREMENT="en_US.UTF-8" > LC_IDENTIFICATION="en_US.UTF-8" > LC_ALL=en_US.UTF-8 > > > > At this point, if you run libreoffice from the command line, does it then work? > > > > > > BTW - is there any significance to the fact that some of the above > lines say "en_US.UTF-8" and others en_US.UTF-8? > > Any help would be appreciated > > > > Those with the quotes are inferred. > > For me, the problem was that some of those lines said "en_IL.UTF-8", which > is a locale that does not exist. > > Shachar > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shlomo.solomon at gmail.com Sat Aug 18 20:46:59 2018 From: shlomo.solomon at gmail.com (Shlomo Solomon) Date: Sat, 18 Aug 2018 20:46:59 +0300 Subject: Hebrew file names in Libreoffice In-Reply-To: References: <20180815190130.1febfcac@shlomo1.solomon> <20180815194433.2c536bba@shlomo1.solomon> <20180816123046.06f1260a@shlomo1.solomon> Message-ID: <20180818204659.5c24d8f5@shlomo1.solomon> Thanks for your input, but as I already wrote, deleting and re-generating the following files solved the problem: ~/.config/plasma-locale-settings.sh ~/.config/plasma-localerc So it was certainly a "locale" problem. BTW - from my experience, kde-link file permissions are rwxr--r-- and that's the case with mine too :-) On Fri, 17 Aug 2018 21:12:00 +0300 Amichai Rotman wrote: > It might be a permissions problem on the "kde-link" file. > > I haven't used KDE for years now, so I don't know where to look. In > unity, all launchers are in the ~/.config directory. > > Amichai > > ??????? ??? ??, 16 ????? 2018 ?-13:41 ??? ?Shachar Shemesh?? shachar at shemesh.biz??>:? > > > On 16/08/2018 12:30, Shlomo Solomon wrote: > > > > After more research, I'm pretty sure this is a KDE-Libreoffice > > interaction problem, but don't know how to solve it. Here's a > > summary of what I know and tried - #6 is really interesting/strange. > > > > 1 - click on a Hebrew file name - libreoffice says file does not > > exist. 2 - click on Libreoffice icon + try to open a Hebrew name - > > same result 3 - run libreoffice from command line - works OK > > 4 - sudo libreoffice also works OK but that's a BAD solution > > 5 - created a KDE "link to application" and chose "run in terminal" > > - libreoffice says file does not exist > > 6 - created a KDE "link to application" and chose "run in > > terminal" + "run as a different user" - KDE asks for a password > > and libreoffice works OK. NOTE: As the "other" user I chose my > > regular username!!! 7 - I read that the libreoffice-kde can cause > > problems so I un-installed it, but that didn't help (and it made a > > mess of the file open/save dialogue). > > > > > > > > As I already wrote, locale is set to en_US.UTF-8 > > solomon at shlomo1:~$ localectl > > System Locale: LANG=en_US.utf8 > > VC Keymap: n/a > > X11 Layout: us > > X11 Model: pc105 > > solomon at shlomo1:~$ locale > > LANG=en_US.UTF-8 > > LANGUAGE=en_US.UTF-8 > > LC_CTYPE="en_US.UTF-8" > > LC_NUMERIC="en_US.UTF-8" > > LC_TIME="en_US.UTF-8" > > LC_COLLATE="en_US.UTF-8" > > LC_MONETARY="en_US.UTF-8" > > LC_MESSAGES="en_US.UTF-8" > > LC_PAPER="en_US.UTF-8" > > LC_NAME="en_US.UTF-8" > > LC_ADDRESS="en_US.UTF-8" > > LC_TELEPHONE="en_US.UTF-8" > > LC_MEASUREMENT="en_US.UTF-8" > > LC_IDENTIFICATION="en_US.UTF-8" > > LC_ALL=en_US.UTF-8 > > > > > > > > At this point, if you run libreoffice from the command line, does > > it then work? > > > > > > > > > > > > BTW - is there any significance to the fact that some of the above > > lines say "en_US.UTF-8" and others en_US.UTF-8? > > > > Any help would be appreciated > > > > > > > > Those with the quotes are inferred. > > > > For me, the problem was that some of those lines said > > "en_IL.UTF-8", which is a locale that does not exist. > > > > Shachar > > > > _______________________________________________ > > Linux-il mailing list > > Linux-il at 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 From shlomo.solomon at gmail.com Fri Aug 24 09:56:56 2018 From: shlomo.solomon at gmail.com (Shlomo Solomon) Date: Fri, 24 Aug 2018 09:56:56 +0300 Subject: SOLVED but WHY? (was Re: problem with ownership of files on Samba share) In-Reply-To: <20180817105806.7d100635@shlomo1.solomon> References: <20180817105806.7d100635@shlomo1.solomon> Message-ID: <20180824095656.17f91d93@shlomo1.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 files "seem" to be > owned by root. > If I access smb://solomon at pi/PI-PUBLIC/ then all the files "seem" to > be owned by solomon. On Fri, 17 Aug 2018 10:58:06 +0300 Shlomo Solomon 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 at 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 From linux-il at shimi.net Fri Aug 24 12:21:18 2018 From: linux-il at shimi.net (shimi) Date: Fri, 24 Aug 2018 12:21:18 +0300 Subject: SOLVED but WHY? (was Re: problem with ownership of files on Samba share) In-Reply-To: <20180824095656.17f91d93@shlomo1.solomon> References: <20180817105806.7d100635@shlomo1.solomon> <20180824095656.17f91d93@shlomo1.solomon> Message-ID: 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 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 at pi/PI-PUBLIC/ then all the files "seem" to > > be owned by solomon. > > > > > > > On Fri, 17 Aug 2018 10:58:06 +0300 > Shlomo Solomon 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 at 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 at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > -------------- next part -------------- An HTML attachment was scrubbed... URL: From govershay at gmail.com Fri Aug 24 13:11:05 2018 From: govershay at gmail.com (Shay Gover) Date: Fri, 24 Aug 2018 13:11:05 +0300 Subject: SOLVED but WHY? (was Re: problem with ownership of files on Samba share) In-Reply-To: <20180824095656.17f91d93@shlomo1.solomon> References: <20180817105806.7d100635@shlomo1.solomon> <20180824095656.17f91d93@shlomo1.solomon> Message-ID: 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 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 at pi/PI-PUBLIC/ then all the files "seem" to > > be owned by solomon. > > > > > > > On Fri, 17 Aug 2018 10:58:06 +0300 > Shlomo Solomon 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 at 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 at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shlomo.solomon at gmail.com Fri Aug 24 13:21:23 2018 From: shlomo.solomon at gmail.com (Shlomo Solomon) Date: Fri, 24 Aug 2018 13:21:23 +0300 Subject: SOLVED but WHY? (was Re: problem with ownership of files on Samba share) In-Reply-To: References: <20180817105806.7d100635@shlomo1.solomon> <20180824095656.17f91d93@shlomo1.solomon> Message-ID: <20180824132123.548fd1d1@shlomo1.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 at 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,noforceuid,gid=0,noforcegid,addr=10.0.0.51,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=1048576,wsize=1048576,echo_interval=60,actimeo=1,user) uid=0,noforceuid,gid=0,noforcegid seemed strange, so I added my actual uid and gid to /etc/fstab. So instead of: //pi/PI-PUBLIC /mnt/PI-PUBLIC cifs user,credentials=/etc/samba/auth.pi.solomon 0 0 I now have: //pi/PI-PUBLIC /mnt/PI-PUBLIC cifs user,uid=500,gid=500,credentials=/etc/samba/auth.pi.solomon 0 0 The result: Both of the following incorrectly show all files as owned by solomon smb://solomon at pi/PI-PUBLIC/ /mnt/PI-PUBLIC/ Before the change, /mnt/PI-PUBLIC/ showed all files owned by root. But fish://pi/media/PUBLIC/ still shows correct ownership On Fri, 24 Aug 2018 12:21:18 +0300 shimi wrote: > 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 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 at pi/PI-PUBLIC/ then all the files > > > "seem" to be owned by solomon. > > > > > > > > > > > > > > On Fri, 17 Aug 2018 10:58:06 +0300 > > Shlomo Solomon 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 at 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 at 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 From shlomo.solomon at gmail.com Fri Aug 24 13:25:02 2018 From: shlomo.solomon at gmail.com (Shlomo Solomon) Date: Fri, 24 Aug 2018 13:25:02 +0300 Subject: SOLVED but WHY? (was Re: problem with ownership of files on Samba share) In-Reply-To: References: <20180817105806.7d100635@shlomo1.solomon> <20180824095656.17f91d93@shlomo1.solomon> Message-ID: <20180824132502.621107c8@shlomo1.solomon> solomon at 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 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 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 at pi/PI-PUBLIC/ then all the files > > > "seem" to be owned by solomon. > > > > > > > > > > > > > > On Fri, 17 Aug 2018 10:58:06 +0300 > > Shlomo Solomon 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 at 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 at 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 From govershay at gmail.com Fri Aug 24 13:57:47 2018 From: govershay at gmail.com (Shay Gover) Date: Fri, 24 Aug 2018 13:57:47 +0300 Subject: SOLVED but WHY? (was Re: problem with ownership of files on Samba share) In-Reply-To: <20180824132502.621107c8@shlomo1.solomon> References: <20180817105806.7d100635@shlomo1.solomon> <20180824095656.17f91d93@shlomo1.solomon> <20180824132502.621107c8@shlomo1.solomon> Message-ID: 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 at 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 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 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 at pi/PI-PUBLIC/ then all the files > > > > "seem" to be owned by solomon. > > > > > > > > > > > > > > > > > > > > > On Fri, 17 Aug 2018 10:58:06 +0300 > > > Shlomo Solomon 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 at 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 at 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nad.oby at gmail.com Sun Aug 26 19:37:18 2018 From: nad.oby at gmail.com (Evgeniy Ginzburg) Date: Sun, 26 Aug 2018 19:37:18 +0300 Subject: Job offer DevOps@Oath (Yahoo Gemini) Message-ID: Hello all. My team is looking for a Production Engineer aka DevOps to join the Yahoo Gemini team. Essential: a good grasp of Linux, web servers, scripting, monitoring, CI/CD. Big plus experience with HA/HL, Multiserver, agile head, can read Java or CPP. Full job offer link Ramat Gan near the Central rail station. The job is interesting, workmates are superb, and a lot of perks are included (if it interesting). I'm working here for about 1.5 years and "All is fine". Ask questions if any arises. P.S. If you'll refer me (completely voluntary act) I'll receive some tips for beer. -- So long, and thanks for all the fish. -------------- next part -------------- An HTML attachment was scrubbed... URL: From w1 at zak.co.il Tue Aug 28 23:49:48 2018 From: w1 at zak.co.il (Omer Zak) Date: Tue, 28 Aug 2018 23:49:48 +0300 Subject: Patch management tools? Message-ID: <1535489388.30550.3.camel@zak.co.il> I have a project, which uses a JavaScript library. I need to patch the library as part of integrating it into the project. Once in a while I need to upgrade to the most recently released version of the library i.e. reapply my patches. The library is available as a git repository from which I 'git pull" updates as needed. While I can reapply my patches by using 'git rebase', I am curious to know if there any specialized tools which assist in this process. Like the 'quilt' tool used by Debian package maintainers to deal with a very similar use case. --- Omer -- "Prior to capitalism, the way people amassed great wealth was by looting, plundering and enslaving their fellow man. Capitalism made it possible to become wealthy by serving your fellow man." - Walter E. Williams My own blog is at https://tddpirate.zak.co.il/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS:??at https://www.zak.co.il/spamwarning.html From d.s at daniel.shahaf.name Wed Aug 29 11:01:23 2018 From: d.s at daniel.shahaf.name (Daniel Shahaf) Date: Wed, 29 Aug 2018 08:01:23 +0000 Subject: Patch management tools? In-Reply-To: <1535489388.30550.3.camel@zak.co.il> References: <1535489388.30550.3.camel@zak.co.il> Message-ID: <1535529683.2507780.1489731560.263D3B6B@webmail.messagingengine.com> Omer Zak wrote on Tue, 28 Aug 2018 23:49 +0300: > While I can reapply my patches by using 'git rebase', I am curious to > know if there any specialized tools which assist in this process. Like > the 'quilt' tool used by Debian package maintainers to deal with a very > similar use case. There is https://github.com/git-series/git-series but it appears to be unmaintained. From const at makelinux.co.il Wed Aug 29 13:19:27 2018 From: const at makelinux.co.il (Constantine Shulyupin) Date: Wed, 29 Aug 2018 13:19:27 +0300 Subject: Patch management tools? In-Reply-To: <1535489388.30550.3.camel@zak.co.il> References: <1535489388.30550.3.camel@zak.co.il> Message-ID: Try guilt - quilt on top of git On Tue, Aug 28, 2018 at 11:50 PM Omer Zak wrote: > > I have a project, which uses a JavaScript library. > I need to patch the library as part of integrating it into the project. > > Once in a while I need to upgrade to the most recently released version > of the library i.e. reapply my patches. The library is available as a > git repository from which I 'git pull" updates as needed. > > While I can reapply my patches by using 'git rebase', I am curious to > know if there any specialized tools which assist in this process. Like > the 'quilt' tool used by Debian package maintainers to deal with a very > similar use case. > > --- Omer > > > -- > "Prior to capitalism, the way people amassed great wealth was by > looting, plundering and enslaving their fellow man. Capitalism made it > possible to become wealthy by serving your fellow man." - Walter E. > Williams > My own blog is at https://tddpirate.zak.co.il/ > > My opinions, as expressed in this E-mail message, are mine alone. > They do not represent the official policy of any organization with > which > I may be affiliated in any way. > WARNING TO SPAMMERS: at https://www.zak.co.il/spamwarning.html > > > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il -- Constantine Shulyupin http://www.MakeLinux.co.il/ Embedded Linux Systems Tel Aviv