* Can't mount /tmp with noexec??
@ 2015-01-23 14:08 Antonio Malcolm
2015-01-24 9:55 ` Juan RP
2015-01-24 16:51 ` Stefan Mühlinghaus
0 siblings, 2 replies; 4+ messages in thread
From: Antonio Malcolm @ 2015-01-23 14:08 UTC (permalink / raw)
To: voidlinux
[-- Attachment #1.1: Type: text/plain, Size: 230 bytes --]
Noticed this, fast. Mounting /tmp with noexec means I can't install
packages, as attempting to do so results in a permissions error.
Remounting without noexec resolves this issue, but I'd rather lock down
/tmp, if possible.
[-- Attachment #1.2: Type: text/html, Size: 251 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can't mount /tmp with noexec??
2015-01-23 14:08 Can't mount /tmp with noexec?? Antonio Malcolm
@ 2015-01-24 9:55 ` Juan RP
2015-01-24 16:51 ` Stefan Mühlinghaus
1 sibling, 0 replies; 4+ messages in thread
From: Juan RP @ 2015-01-24 9:55 UTC (permalink / raw)
To: voidlinux
[-- Attachment #1.1: Type: text/plain, Size: 112 bytes --]
xbps uses /tmp to execute the pkg install scripts, so no, it's not possible
to mount it with noexec for now.
[-- Attachment #1.2: Type: text/html, Size: 133 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can't mount /tmp with noexec??
2015-01-23 14:08 Can't mount /tmp with noexec?? Antonio Malcolm
2015-01-24 9:55 ` Juan RP
@ 2015-01-24 16:51 ` Stefan Mühlinghaus
2015-01-24 19:59 ` Antonio Malcolm
1 sibling, 1 reply; 4+ messages in thread
From: Stefan Mühlinghaus @ 2015-01-24 16:51 UTC (permalink / raw)
To: voidlinux
[-- Attachment #1.1: Type: text/plain, Size: 223 bytes --]
Not a perfect solution, but you could mount as noexec by default and
whenever you want to install packages you can do a quick
mount -o remount,exec /tmp
before and another
mount -o remount /tmp
afterwards.
[-- Attachment #1.2: Type: text/html, Size: 1478 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-01-24 19:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-23 14:08 Can't mount /tmp with noexec?? Antonio Malcolm
2015-01-24 9:55 ` Juan RP
2015-01-24 16:51 ` Stefan Mühlinghaus
2015-01-24 19:59 ` Antonio Malcolm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).