diff options
author | Dave Reisner <d@falconindy.com> | 2011-06-02 10:24:42 -0400 |
---|---|---|
committer | Dave Reisner <d@falconindy.com> | 2011-06-04 14:54:41 -0400 |
commit | a79921851bfd93b3ac27955fa0bf191b96c22822 (patch) | |
tree | bf470a957846d6582e17883a31ab18e621c1fb50 | |
parent | af0b5c55dbd94a04ebc54cf3d119261bee383951 (diff) |
rc.sysinit: allow exec in /run
We already have /tmp and /dev/shm as world writeable directories with
exec permissions, so it doesn't necessarily make sense to inhibit exec
here. There also might be use cases where running one-off programs from
/run might make sense.
Signed-off-by: Dave Reisner <d@falconindy.com>
-rwxr-xr-x | rc.sysinit | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -19,7 +19,7 @@ export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" # mount /proc, /sys, /run, /dev, /run/lock, /dev/pts, /dev/shm (the api filesystems) /bin/mountpoint -q /proc || /bin/mount -n -t proc proc /proc -o nosuid,noexec,nodev /bin/mountpoint -q /sys || /bin/mount -n -t sysfs sysfs /sys -o nosuid,noexec,nodev -/bin/mountpoint -q /run || /bin/mount -n -t tmpfs tmpfs /run -o mode=755,size=10M,nosuid,noexec,nodev +/bin/mountpoint -q /run || /bin/mount -n -t tmpfs tmpfs /run -o mode=755,size=10M,nosuid,nodev if ! /bin/mountpoint -q /dev; then if /bin/grep -q devtmpfs /proc/filesystems &>/dev/null; then /bin/mount -n -t devtmpfs udev /dev -o mode=0755,size=10M,nosuid |