Skip to content

Conversation

@hlovdal
Copy link
Contributor

@hlovdal hlovdal commented Oct 25, 2017

Print an extra, descriptive warning for EPERM. The far most likely cause for EPERM is that people try to run su-exec as a non-root user, so help them understand this is not possible. This addresses issue 10.

This pull request builds on top of pull request 15, but since that pull request is not merged yet, the diff to master will include too much. I'll happily rebase when that is merged.

riccardomurri and others added 14 commits May 30, 2017 16:20
This brings down `su-exec` to 11kB and `su-exec-static` to 853kB
on my Ubuntu 16.04 x86_64.
Static linking to GNU libc is not really allowed, and I am using GNU
libc for my purposes (running Java on CentOS and Fedora).

Being able to do "make install" makes packaging su-exec as an RPM
easier.
The far most likely cause for EPERM is that people try to run su-exec
as a non-root user, so help them understand this is not possible.
@hlovdal hlovdal changed the title Print eperm warning Print EPERM warning Oct 25, 2017
@hlovdal hlovdal closed this Dec 22, 2024
@hlovdal hlovdal deleted the print-eperm-warning branch December 22, 2024 19:36
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.

2 participants