-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
savannah: cons.saver lacking privileges #22
Comments
hmm, IMHO the best idea is to issue a big-fat-warning on
AFAIK every logged-in console user should get access to the |
|
|
|
I think that it's distro's job to make sure that console users are having correct permissions by default, or, if they object, set the permissions they want to cons.saver.
FYI, in Debian /dev/vcsa* are root:tty and cons.saver is SGID tty. This has to be done explicitly, because SUID/SGID bits are automatically removed from make install root. Same goes for Redhat, Gentoo and other distributions.
The reason for this is quite simple: no one wants to have SUID/SGID binaries on their system, apart from a very small well controlled and audited subset of files. Making make install set SUID bit by default will not change anything for these distros, but make it easier for clueless users to mess their system up.
And by the way, what will happen if your patch is applied literally and make install is run as a user with say ~/opt prefix? Right, it will fail so set the permissions and the installation will abort.
I suggest a wontfix, others? |
Replying to zaytsev:
too bad that it isn't possible. there is no generic solution outside the mc package itself.
yes, if you configure your cron jobs to break your system, then they will happily do it.
feel free to prefix the commands with a dash, or put the whole thing in an automake conditional. |
Why wouldn't you just change the permissions for you instead of trying to get your patch in for everybody?
On Debian there's a sysadmin's tool called dpkg-statoverride that will override the permissions, defined by the packager and set them to those that the admin wants to have, so that it will survive package updates and manual chowns. |
don't you get it? this is about *upstream*. tar balls. that's all that the mc team as a whole officially releases. and that has to work out of the box, for everybody. currently, it doesn't. that simple. |
I get your point, but I don't agree with it. Paradoxically this actually happens. |
yes, but why? why are you concerned about the packaging? it can do any modifications necessary. it's the "make install" which upstream should make "just work". |
|
for that matter, here is the patch i'm running with, uhm, like, forever. i can only re-iterate that the plain "make install" should *just work* and any modifications should be left to the distributors, not the other way round. |
Important
This issue was migrated from Trac:
ossi
(@ossilator)zaytsev
(@zyv)Original: http://savannah.gnu.org/bugs/?13730
Original submission:
Note
Original attachments:
ossi
(@ossilator) onOct 8, 2020 at 19:28 UTC
The text was updated successfully, but these errors were encountered: