AW: KAuth helper in flatpak - was - Re: Smb4K flatpak build fails due to KAuth helper

2019-06-05 Thread alexander.reinho...@t-online.de
Thank you for all of your answers and explanations! Yesterday, I managed to compile the flatpak successfully by adding polkit, PolkitQt and KAuth to the manifest. I haven't had the time to test the resulting package, but at the moment I'm confident that it will work, since the GNO

Re: KAuth helper in flatpak - was - Re: Smb4K flatpak build fails due to KAuth helper

2019-06-03 Thread Harald Sitter
On Mon, Jun 3, 2019 at 2:13 AM Stefan Brüns wrote: > SMB4K is a quite lowlevel system tool. There are tools which are too lowlevel > to package as flatpak/snap/appimage/whatever in a useful way That is not true. Certainly not for appimage and snap anyway, both offer operation without/limited sand

Re: KAuth helper in flatpak - was - Re: Smb4K flatpak build fails due to KAuth helper

2019-06-02 Thread Stefan Brüns
On Sonntag, 2. Juni 2019 20:02:50 CEST Nate Graham wrote: > On 6/2/19 4:37 AM, Albert Astals Cid wrote: > > El divendres, 31 de maig de 2019, a les 13:05:04 CEST, Alexander Reinholdt va escriure: > >> Has anyone on this list successfully packaged a program with a KAuth > &g

Re: KAuth helper in flatpak - was - Re: Smb4K flatpak build fails due to KAuth helper

2019-06-02 Thread Nate Graham
On 6/2/19 4:37 AM, Albert Astals Cid wrote: El divendres, 31 de maig de 2019, a les 13:05:04 CEST, Alexander Reinholdt va escriure: Has anyone on this list successfully packaged a program with a KAuth helper included? Or is it impossible to install a KAuth helper into a flatpak? Help is

KAuth helper in flatpak - was - Re: Smb4K flatpak build fails due to KAuth helper

2019-06-02 Thread Albert Astals Cid
El divendres, 31 de maig de 2019, a les 13:05:04 CEST, Alexander Reinholdt va escriure: > Has anyone on this list successfully packaged a program with a KAuth helper > included? Or is it impossible to install a KAuth helper into a flatpak? Help > is much appreciated. I think that&#

Smb4K flatpak build fails due to KAuth helper

2019-05-31 Thread Alexander Reinholdt
Hello everyone, I am currently trying to produce a flatpak for Smb4K. However, the build process always fails when the KAuth helper binary is to be installed into the flatpak folder. The following error message is displayed: [...] CMake Error at helpers/cmake_install.cmake:55 (file): file

Re: KDE Partition Manager and KPMcore 4.0 beta / KAuth review request / Name of the program

2019-01-15 Thread Andrius Štikonas
2019 m. sausio 16 d., trečiadienis 01:18:09 GMT David Edmundson rašė: > >Then it starts DBus interface where the > original GUI program can request execution of various partitioning commands > as root. These requests are > RSA signed by the GUI program and come with a cryptographic nonce which > pr

Re: KDE Partition Manager and KPMcore 4.0 beta / KAuth review request / Name of the program

2019-01-15 Thread David Edmundson
>Then it starts DBus interface where the original GUI program can request execution of various partitioning commands as root. These requests are RSA signed by the GUI program and come with a cryptographic nonce which prevents replaying them. Why? You can correctly identify the sender of the gui a

KDE Partition Manager and KPMcore 4.0 beta / KAuth review request / Name of the program

2019-01-15 Thread Andrius Štikonas
arted->sfdisk switch as libparted does not have support for FAT12. * And last but not least is KAuth. KDE Partition Manager no longer runs as root but instead uses KAuth. In fact half of the features above were prerequisite for KAuth work. It solves issues with DBus access, improves Wayland

Re: KAuth helper trouble

2018-04-26 Thread Michael Pyne
On Wed, Apr 25, 2018 at 07:33:25PM +, Amber Schenck wrote: > Hi kde-devel, > > I'm trying to convert my package manager frontend to KAuth so it > doesn't have to be run under kdesu but my helper doesn't seem to be > behaving and I'm having trouble debugging

KAuth helper trouble

2018-04-26 Thread Amber Schenck
Hi kde-devel, I'm trying to convert my package manager frontend to KAuth so it doesn't have to be run under kdesu but my helper doesn't seem to be behaving and I'm having trouble debugging it. The helper code right now is: ActionReply KurooHelper::sync( const QVariantMap&

Trying to implement kauth in my program.

2018-02-07 Thread rksomay...@gmail.com
Hi I am trying to build a program in QT-creator for managing the config files in gui as a way to learn more about kf5 kauth. The example given seem to include only those which use cmake, but not qt-creator. When I try to implement the action I get an error invalid action Attached are the files

Re: Need help regarding qfile management inside KAuth helper

2017-06-14 Thread Christoph Feck
On 14.06.2017 18:40, chinmoy ranjan wrote: Hi all, I am working on the GSOC project "Polkit support in KIO". As a part of this project right now I am trying to add KAuth support to the 'copy' method of file ioslave. My initial plan was to let KAuth helper open the file

Need help regarding qfile management inside KAuth helper

2017-06-14 Thread chinmoy ranjan
Hi all, I am working on the GSOC project "Polkit support in KIO". As a part of this project right now I am trying to add KAuth support to the 'copy' method of file ioslave. My initial plan was to let KAuth helper open the files requiring elevated privilege for reading and/or w

Re: Async action with helper in KAuth

2012-12-06 Thread Konstantinos Smanis
gt; > Thanks! > >> >> >> >> On Thu, Nov 15, 2012 at 8:45 AM, Dario Freddi wrote: >> > Hello Yichao, >> > >> > 2012/11/12 Yichao Yu >> >> >> >> I checkout out the code for KAuth and found out the following lines >&g

Re: Async action with helper in KAuth

2012-11-15 Thread Yichao Yu
Filed a bug here[1], hopefully this will help you tracking the bug and to cherrypick/fix it in other branches. [1] https://bugs.kde.org/show_bug.cgi?id=310149 On Thu, Nov 15, 2012 at 8:45 AM, Dario Freddi wrote: > Hello Yichao, > > 2012/11/12 Yichao Yu >> >> I checkout o

Re: Async action with helper in KAuth

2012-11-15 Thread Yichao Yu
On Thu, Nov 15, 2012 at 8:45 AM, Dario Freddi wrote: > Hello Yichao, > > 2012/11/12 Yichao Yu >> >> I checkout out the code for KAuth and found out the following lines >> in` ActionReply Action::execute(const QString &helperID) const` >> >>

Re: KAuth and dbus service files

2011-11-25 Thread Steven Sroka
se). It outlines the most >>> common misconfigurations your system might be into. General rule is >>> that if you are playing with KAuth, you really need to know where your >>> files are ending. >> >> This was very helpful. Thank you. I taught me what I needed

Re: KAuth and dbus service files

2011-11-24 Thread Dario Freddi
into. General rule is >> that if you are playing with KAuth, you really need to know where your >> files are ending. > > This was very helpful. Thank you. I taught me what I needed to know. Awesome :) if you have a minute and want to make that page look more friendly, be my

Re: KAuth and dbus service files

2011-11-24 Thread Steven Sroka
> > Also, you might want to check > http://community.kde.org/KAuth_Troubleshooting , even though you are > not getting to that stage of errors (I suppose). It outlines the most > common misconfigurations your system might be into. General rule is > that if you are playing with

Re: Dario Freddi - Re: KAuth and dbus service files

2011-11-23 Thread Lydia Pintscher
On Wed, Nov 23, 2011 at 21:06, Dr.-Ing. Edgar Alwers wrote: > Dario Freddi wrote Nov. 23 2011 > >> Small advice: next time you are seeking for help, spare the others >> from your cheap irony, because you can just piss people off. I am >> certainly not losing my time helping somebody who is clearly

Re: KAuth and dbus service files

2011-11-23 Thread Dario Freddi
" application, which is taking care of the root part. This is explained here, if you didn't read that, do it before you move forward: http://api.kde.org/4.x-api/kdelibs-apidocs/kdecore/html/namespaceKAuth.html Now, this helper is invoked by KAuth itself through DBus activation. If the s

Re: Dario Freddi - Re: KAuth and dbus service files

2011-11-23 Thread Thomas Lübking
Am Wed, 23 Nov 2011 21:06:43 +0100 schrieb "Dr.-Ing. Edgar Alwers" : > To the kde-devel-People: > > since years is Mr. Freddi offending contributors and readers of this Since you didn't back this rather bold statement, let's just add some context here: http://lists.kde.org/?t=12686273841&r=1&

Dario Freddi - Re: KAuth and dbus service files

2011-11-23 Thread Dr.-Ing. Edgar Alwers
Dario Freddi wrote Nov. 23 2011 > Small advice: next time you are seeking for help, spare the others > from your cheap irony, because you can just piss people off. I am > certainly not losing my time helping somebody who is clearly too good < to follow my advice. Good luck in solving your problem,

Re: KAuth and dbus service files

2011-11-23 Thread Thiago Macieira
On Wednesday, 23 de November de 2011 13:11:55 Steven Sroka wrote: > I didn't mean to be offensive, I'm just confused by all this. I know > nothing about DBus. Sorry And my replies on the D-Bus mailing list indicated to you that the problem was not on D-Bus. We could not help you there because you

Re: KAuth and dbus service files

2011-11-23 Thread Steven Sroka
>On 23 November 2011 11:50, Dario Freddi wrote: > 2011/11/23 Steven Sroka : >> I installed the files yesterday and ran my program today again, so >> DBus still hasn't picked up the new configuration? I guess it is >> possible... > > Small advice: next time you are seeking for help, spare the other

Re: KAuth and dbus service files

2011-11-23 Thread Dario Freddi
2011/11/23 Steven Sroka : > I installed the files yesterday and ran my program today again, so > DBus still hasn't picked up the new configuration? I guess it is > possible... Small advice: next time you are seeking for help, spare the others from your cheap irony, because you can just piss people

Re: KAuth and dbus service files

2011-11-23 Thread Steven Sroka
>On 22 November 2011 23:10, Dario Freddi wrote: > 2011/11/23 Steven Sroka : >>>On 22 November 2011 13:26, Dario Freddi wrote: >>> 2011/11/22 Steven Sroka : >>>> Where does KAuth place dbus service file? >>>> >>>> The DBus developers h

Re: KAuth and dbus service files

2011-11-22 Thread Dario Freddi
2011/11/23 Steven Sroka : >>On 22 November 2011 13:26, Dario Freddi wrote: >> 2011/11/22 Steven Sroka : >>> Where does KAuth place dbus service file? >>> >>> The DBus developers have said they should go into >>> /usr/share/dbus-1/service

Re: KAuth and dbus service files

2011-11-22 Thread Steven Sroka
>On 22 November 2011 13:26, Dario Freddi wrote: > 2011/11/22 Steven Sroka : >> Where does KAuth place dbus service file? >> >> The DBus developers have said they should go into >> /usr/share/dbus-1/services/ >> and >> /usr/share/dbus-1/system-services/ &

Re: KAuth and dbus service files

2011-11-22 Thread Dario Freddi
2011/11/22 Steven Sroka : > Where does KAuth place dbus service file? > > The DBus developers have said they should go into > /usr/share/dbus-1/services/ > and > /usr/share/dbus-1/system-services/ > > But I can't find the files I expected for a program that I am cre

KAuth and dbus service files

2011-11-21 Thread Steven Sroka
Where does KAuth place dbus service file? The DBus developers have said they should go into /usr/share/dbus-1/services/ and /usr/share/dbus-1/system-services/ But I can't find the files I expected for a program that I am creating. >> Visit http://mail.kde.org/mailman/listinfo/kde-dev

Re: KAuth

2011-11-14 Thread Steven Sroka
>On 12 November 2011 14:48, Steven Sroka wrote: > I'm trying to implement KAuth into my program. When I initiate and run > my helper, I get an error message back stating "Cannot launch daemon, > file not found or permissions invalid". This is apparently a DBus > erro

KAuth

2011-11-12 Thread Steven Sroka
I'm trying to implement KAuth into my program. When I initiate and run my helper, I get an error message back stating "Cannot launch daemon, file not found or permissions invalid". This is apparently a DBus error. Does anyone know what could be wrong? Steve >> Visit http:/

Re: KAuth

2011-10-29 Thread Dario Freddi
2011/10/25 Milian Wolff : > On Monday 24 October 2011 13:52:09 Steven Sroka wrote: >> Can there be a constructor in a KAuth helper? >> In the techbase examples, the helper is access like this: >> >> KAuth::ActionReply reply = readAction.execute(); >> >> Wou

Re: KAuth

2011-10-24 Thread Milian Wolff
On Monday 24 October 2011 13:52:09 Steven Sroka wrote: > Can there be a constructor in a KAuth helper? > In the techbase examples, the helper is access like this: > > KAuth::ActionReply reply = readAction.execute(); > > Would the readAction constructor be called internally

KAuth

2011-10-24 Thread Steven Sroka
Can there be a constructor in a KAuth helper? In the techbase examples, the helper is access like this: KAuth::ActionReply reply = readAction.execute(); Would the readAction constructor be called internally then the execute() function would be run, or does this bypass the constructor and

Re: Locating executables in root's PATH (in KAuth helper)

2011-05-10 Thread David Jarvie
executable using the root PATH. > >>> Specifically, I want to run something which on my system is in /usr/sbin/, > >>> calling it from a KAuth helper module running as root. > >>> KStandarDirs::findExe() doesn't produce any result (the PATH variable > >>> doesn&

Re: Locating executables in root's PATH (in KAuth helper)

2011-05-08 Thread johnmS2
ng which on my system is in /usr/sbin/, >>> calling it from a KAuth helper module running as root. >>> KStandarDirs::findExe() doesn't produce any result (the PATH variable >>> doesn't seem to be set up). I could hard code the /usr/sbin/ path, but >>>

Re: Locating executables in root's PATH (in KAuth helper)

2011-05-08 Thread David Jarvie
On Sunday 08 May 2011 18:46:46 Enda Cronnolly wrote: > On Sunday 08 May 2011 18:35:42 David Jarvie wrote: > > Is there any KDE or Qt way to locate an executable using the root PATH. > > Specifically, I want to run something which on my system is in /usr/sbin/, > > calling i

Re: Locating executables in root's PATH (in KAuth helper)

2011-05-08 Thread Enda Cronnolly
On Sunday 08 May 2011 18:35:42 David Jarvie wrote: > Is there any KDE or Qt way to locate an executable using the root PATH. > Specifically, I want to run something which on my system is in /usr/sbin/, > calling it from a KAuth helper module running as root. > KStandarDirs::findE

Locating executables in root's PATH (in KAuth helper)

2011-05-08 Thread David Jarvie
Is there any KDE or Qt way to locate an executable using the root PATH. Specifically, I want to run something which on my system is in /usr/sbin/, calling it from a KAuth helper module running as root. KStandarDirs::findExe() doesn't produce any result (the PATH variable doesn't seem

Re: How to use KAuth in a KDModule written in pykde?

2011-01-14 Thread simgunz
Hi Dario, first of all: thanks for the reply! In this days, thinking about a solution, I get to the point to try to write a helper in C++ and you confirmed my idea. But there are some problems. I'm writing a KDE interface for an existing python program (timekpr). This program have a library for ac

Re: How to use KAuth in a KDModule written in pykde?

2011-01-14 Thread Dario Freddi
s sound as a good solution to you? Otherwise, we can investigate on how to make this work in python and other bindings as well. 2011/1/13 Simone Gaiarin > Hi all, > I'm writing a KCModule with pykde and I need to use KAuth but I haven't > found documentation about it (there is

How to use KAuth in a KDModule written in pykde?

2011-01-13 Thread Simone Gaiarin
Hi all, I'm writing a KCModule with pykde and I need to use KAuth but I haven't found documentation about it (there is documentation only for the C++ version). So I want to ask how can I write an helper for the 'save' function, how can I use it from the KCModule and how can I

Re: Problems with KAuth and KDE 4.5

2010-12-12 Thread Alexander Reinholdt
On Sunday 12 December 2010 18:40:46 Dario Freddi wrote: > On Sunday 12 December 2010 17:20:23 Alexander Reinholdt wrote: > > If there is anything more I can provide to sort this problem out, please > > tell me. > > As I told you, I need the "make install" log more than the other ones :) Sorry. I

Re: Problems with KAuth and KDE 4.5

2010-12-12 Thread Dario Freddi
On Sunday 12 December 2010 17:20:23 Alexander Reinholdt wrote: > If there is anything more I can provide to sort this problem out, please > tell me. As I told you, I need the "make install" log more than the other ones :) > > Best regards > Alexander -- --- Dario Freddi KDE De

Re: Problems with KAuth and KDE 4.5

2010-12-12 Thread Alexander Reinholdt
On Sunday 12 December 2010 15:39:58 Dario Freddi wrote: > On Sunday 12 December 2010 13:32:36 Alexander Reinholdt wrote: > > Does anyone have an idea what might cause this problem? > > It's quite likely that you built a different backend (such as polkit-1 > instead of PolicyKit) and you need to re

Re: Problems with KAuth and KDE 4.5

2010-12-12 Thread Dario Freddi
On Sunday 12 December 2010 13:32:36 Alexander Reinholdt wrote: > Hallo, > > I'm currently having problems with KAuth and KDE 4.5.3, and after several > hours of searching for a solution, I'm stuck. > > For Smb4K (trunk/playground/network/smb4k) I wrote a helper that

Problems with KAuth and KDE 4.5

2010-12-12 Thread Alexander Reinholdt
Hallo, I'm currently having problems with KAuth and KDE 4.5.3, and after several hours of searching for a solution, I'm stuck. For Smb4K (trunk/playground/network/smb4k) I wrote a helper that mounts and unmounts Samba shares. It worked flawlessly under KDE 4.4.5 (Debian unstable), b