Skip to content

Conversation

@Hofer-Julian
Copy link
Contributor

The use of sudo for installations is neither necessary nor encouraged.

The use of sudo for installations is neither necessary nor encouraged
@Jocs Jocs requested a review from fxha December 22, 2019 16:51
@fxha
Copy link
Contributor

fxha commented Dec 22, 2019

Thanks @Hofer-Julian for you suggestion but we need sudo (root permissions) to install the package globally. If you want to install it per user, you should use the --user flag without sudo like in the sentence below. If you disagree, please explain your change in more detail.

@fxha fxha closed this Dec 22, 2019
@bilelmoussaoui
Copy link

There's no need for using sudo when installing Flatpak applications globally. Flatpak uses Polkit under the hood to handle that and prompt the user for the root password only when needed.

@fxha
Copy link
Contributor

fxha commented Jan 13, 2020

Flatpak uses Polkit under the hood to handle that and prompt the user for the root password only when needed

Thanks for the detail, I always thought that Polkit is the same, just for GUI.

@Hofer-Julian Please add that the user may be asked to enter the password to complete the action.

@fxha fxha reopened this Jan 13, 2020
@Hofer-Julian
Copy link
Contributor Author

Hofer-Julian commented Jan 14, 2020

Flatpak uses Polkit under the hood to handle that and prompt the user for the root password only when needed

Thanks for the detail, I always thought that Polkit is the same, just for GUI.

@Hofer-Julian Please add that the user may be asked to enter the password to complete the action.

Done @fxha

@fxha fxha merged commit 91f2af4 into marktext:develop Jan 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants