这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@Damaj301damaj-lol
Copy link
Contributor

Thought that it might be necessary

@2096779623
Copy link
Member

2096779623 commented Feb 1, 2023

.../files/home # pkg cl
Ability to run this command as root has been disabled permanently for safety purposes.
.../files/home #

Thanks for PR, we already added it.

https://github.com/termux/termux-packages/blob/ce2d57424c1ed473c4fe66ab6550ab7d15a6bf10/packages/apt/0010-prevent-usage-as-root.patch#L24

@2096779623 2096779623 closed this Feb 1, 2023
@agnostic-apollo
Copy link
Member

Thanks for PR, we already added it.

That gets engaged way too late and not for pacman. If running pkg as root, then mirror selection would also create sources.list files with root ownership if they don't exist.

@Damaj301damaj-lol
Copy link
Contributor Author

Damaj301damaj-lol commented Feb 1, 2023

That gets engaged way too late and not for pacman.

Actually it does engage in pacman termux/termux-packages@84d26e6

@agnostic-apollo
Copy link
Member

Actually it does engage in pacman

Ah, right, only added a month ago.

Thanks.

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