This forum has been archived. All content is frozen. Please use KDE Discuss instead.

a simple way to install .bin and .run file!

51

Votes
98
47
Tags: dolphin, bin, run dolphin, bin, run dolphin, bin, run
(comma "," separated)
User avatar
Madman
Registered Member
Posts
593
Karma
1
OS
Am I invisible or something? O.o


Madman, proud to be a member of KDE forums since 2008-Oct.
anoneemouse
Registered Member
Posts
123
Karma
0
OS
This is a great Idea. Although I agree with a delay on the ok button so that the user reads the screen.

Run as root should not be a checkbox, but rather another dialog i think. AS for the security risk when all is said and done security ends in the hands of the user. The most secure corporate networks get penetrated because of the actions of singular users. The problem is not with the programming.
User avatar
Madman
Registered Member
Posts
593
Karma
1
OS
Is there something wrong with my suggestion that I'm missing?

Madman wrote:I still think this is a binary issue and as such should be handled by the various distros. For example, Debian/Ubuntu could have information stored in their .deb binary format about how to unpack .run packages and where to install them (for example, with the nVidia install script, something like ./script.sh --unpack is used to extract the packages without installing). This would also allow them to install to a standard location (as opposed to /usr/local/games in the case of ETQW) and install menu icons in the right place. The binary would be handled by Synaptic installer (or some-such)/Adept installer/KPackageKit, which the user would be used to, and stuff like root privileges are handled in a standard way. If we continue to use ETQW as an example, then Adept/Synaptic installer would give one pop-up for the EULA and another asking them to place the CD in the tray to continue, when the script demands that.

Moreover, if standard .deb packages gained these features, they could be included in the standard package tree. This way, the developers can already state that the software is tested and safe, therefore easy to find in your standard software management program.

Not only does this allow firms like ID software to continue using .run files for distribution, which is more convenient for them, but it also allows distribution developers to configure the installation depending on their install paths and allows users to easily install the software and use it after (Because I don't want to go round every user profile to add ETQW to the menu after installing...


Madman, proud to be a member of KDE forums since 2008-Oct.
User avatar
dridk
Moderator
Posts
59
Karma
0
OS
I think this is a freeDesktop.org problem... Need to discute with them
Madman, you're idea is good. I m waiting for new KAuth class, to make KexecDialog with it and policyKit.
drf
KDE Developer
Posts
20
Karma
0
OS
dridk wrote:I m waiting for new KAuth class, to make KexecDialog with it and policyKit.


Just FYI, KAuth is in KDECore already (4.4, trunk). You can find an introduction here: http://api.kde.org/4.x-api/kdelibs-apid ... KAuth.html
tubasoldier
Registered Member
Posts
12
Karma
0
OS
Madman wrote:The *proper* way to do it is to make the appropriate binary for as many distro's as possible, even if it means re-formatting the binary format so that it is possible to make it run an embedded .run or .bin file. This way, the file format is consistent (.deb, .rpm etc.) and is handled in a consistent way, depending on your distribution (E.G. Aptitude installer on Kubuntu).


This is the answer. This comes up all the time. I remember something similar in KDE 3.5. It is not the job of the Desktop Environment to un/install software. The more I read through these comments the more I become wary of your understanding of system security.

One of the main reasons Linux has been able to avoid many pitfalls of Windows is the strict permissions control.
User avatar
Madman
Registered Member
Posts
593
Karma
1
OS
I don't want this implemented into KDE, if it means it's doing it the wrong way and is giving up security. That's a reason I don't use Windows, for crying out loud!


Madman, proud to be a member of KDE forums since 2008-Oct.
Lachu
Registered Member
Posts
864
Karma
1
OS
What about additionally allow users to run application from desktop in sandbox mode. Fedora 12 will have sandbox mode designed for this case. It don't allow install application(sandbox), but allows to run it.


Lachu, proud to be a member of KDE forums since 2008-Nov.
Danni Coy
Registered Member
Posts
12
Karma
0
OS
A dialog box should pop up asking if they want to make an install - if the program needs to be installed into the system then user will have to supply a password.

An install into the users home folder might also be possible and not require a password. Or perhaps a sandboxed install?

A cool feature would be to search the package manager to see if the same program is available there and suggest that the user might like to install that instead (allow them to enter their password and do it for them)
damipereira
Registered Member
Posts
27
Karma
0
OS
The dialog should say that the archieve is potencially dangerous big red font
and then recommend:

If it's a app look for it in the repository (and provide a button for that)

make an install giving the password (sandbox install)

Or if the user wants to install on the system for real (potencialy dangerous) don't provide a direct button for it, but a direction on how to do it like:
"go to this file properties and give execution right to this file" and maybe a button for going to properties.


Bookmarks



Who is online

Registered users: Bing [Bot], gfielding, Google [Bot], Sogou [Bot]