]> git.ipfire.org Git - pakfire.git/commitdiff
mount: Allow execution from /tmp
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 12 Feb 2021 19:39:00 +0000 (19:39 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 12 Feb 2021 19:39:00 +0000 (19:39 +0000)
Our scriptlets are being copied to this directory and won't work with
this bit set.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/pakfire.c

index 71466a5e15a4b4612c7c129babde23a30d8dfb76..349efe8edd4907569bb515fbcedc94a0dfb1255c 100644 (file)
@@ -280,7 +280,7 @@ static const struct pakfire_mountpoint {
                "mode=755,size=4m,nr_inodes=1k" },
 
        // Create a new /tmp
-       { "pakfire_tmpfs", "tmp",          "tmpfs", MS_NOSUID|MS_NOEXEC|MS_NODEV,
+       { "pakfire_tmpfs", "tmp",          "tmpfs", MS_NOSUID|MS_NODEV,
                "mode=755" },
 
        // The end