Running application with user privillegions.
-
@nicholas_ru Since you used GParted as an example, use the same technique they use.
https://gitlab.gnome.org/GNOME/gparted/-/blob/master/src/main.cc?ref_type=heads
https://gitlab.gnome.org/GNOME/gparted/-/blob/master/org.gnome.gparted.policy.in.in?ref_type=heads -
Nice to know :)
*.in.infile?!
So a file template for a file template for an actual file? :D@Pl45m4 said in Running application with user privillegions.:
Nice to know :)
*.in.infile?!
So a file template for a file template for an actual file? :DThere's never enough indirection... :-D
-
I think he wants to run a process with administrative privileges by showing a UAC (User Account Control) dialog. This is what, for example, balenaEtcher does when it needs to burn a drive. Is this correct?
-
Linus Torvalds hate C++ because it dificult and not t easy.Not UAC, read up, Linux.It so for me, i liked, Unixpled
-
Torvalds allowed Rust into the kernel (2022) but not C++.
Grandpa is doing his own thing and I stopped questioning stuff.
-
Linus Torvalds hate C++ because it dificult and not t easy.Not UAC, read up, Linux.It so for me, i liked, Unixpled
@nicholas_ru said in Running application with user privillegions.:
Linus Torvalds hate C++ because it dificult and not t easy.Not UAC, read up, Linux.It so for me, i liked, Unixpled
Don't know what you're saying, but the ability to set or change user privilege has nothing to do with C++ and really little to do with programming.
-
It's talk about them, that code must be easy, and user permissions change must be flug also easy.
-
It's talk about them, that code must be easy, and user permissions change must be flug also easy.
If changing user permissions were that easy, it would defeat its purpose.
-
It must easy for developers and users.
-
Torvalds allowed Rust into the kernel (2022) but not C++.
Grandpa is doing his own thing and I stopped questioning stuff.
@J.Hilk grandfather create for you Linux and GIT,you use it
-
I use LXDE.This is GNOME.Gvfs.I am not knowladge how understand.Paradox
-
I don't get your point. Can you explain this more clearly ?
AFAIK, there's nothing LXDE specific. This project is essentially a wrapper around polkit which handles the "sudoing" part. -
very good idea, but very dificult. I am found in debian based package.Thank.
-
very good idea, but very dificult. I am found in debian based package.Thank.
@nicholas_ru said in Running application with user privillegions.:
very good idea, but very dificult. I am found in debian based package.Thank.
What do you mean by that ? Debian provides packages for both Qt 5 and Qt 6 ?
-
Yes, of course.
-
Yes, of course.
@nicholas_ru said in Running application with user privillegions.:
Yes, of course.
That is still a bit cryptic regarding your "but very difficult" answer.
What difficulties do you have ? -
@SGaist said in Running application with user privillegions.:
Just in case: KDE has Polkit-Qt
On Github compile with Qt 5.x.How compile with Qt 6.x?
-
@SGaist said in Running application with user privillegions.:
Just in case: KDE has Polkit-Qt
On Github compile with Qt 5.x.How compile with Qt 6.x?
@nicholas_ru
Since that directory has various files withqt6in their name and commentChange CMake code to enable building against Qt 5 or 6I would guess it has already been made to work with Qt6 for you..... You did look inside e.g.CMakeLists.txtto check you are asking for Qt6 instead of Qt5, didn't you?