mirror of
https://github.com/konstruktoid/hardening.git
synced 2026-04-26 01:05:56 +03:00
[GH-ISSUE #52] Can't exec within /tmp while running script #22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @onsetsoftware on GitHub (Oct 14, 2019).
Original GitHub issue: https://github.com/konstruktoid/hardening/issues/52
Periodically within the script I get:
It is not always the same file within the
tmpdirectory, but it is always the same 2 perl scripts. Presumably this is because thenoexecflag is set on thetmppartition. Is this correct?@konstruktoid commented on GitHub (Oct 14, 2019):
Hi @onsetsoftware, that's correct. Afaik, this hasn't really affected things and after apt has been setup
/tmpshould remount properly.@onsetsoftware commented on GitHub (Oct 15, 2019):
Hi @konstruktoid, thanks for your reply. So should I assume this is actually not an issue at all? It appears that perhaps packages are not being installed properly?
@konstruktoid commented on GitHub (Oct 15, 2019):
That's correct and future packages that need exec on /tmp is remedied by https://github.com/konstruktoid/hardening/blob/master/scripts/10_aptget#L72-L86
@onsetsoftware commented on GitHub (Oct 15, 2019):
Wonderful. Thanks very much indeed.