Gentoo Archives: gentoo-catalyst

From: Caleb Cushing <xenoterracide@×××××.com>
To: gentoo-catalyst@l.g.o
Subject: Re: [gentoo-catalyst] chroot: cannot run command `/tmp/livecd-stage1-chroot.sh': Permission denied
Date: Tue, 16 Dec 2008 04:03:03
Message-Id: 81bfc67a0812152001u563d9fdar7ce6906356eada30@mail.gmail.com
In Reply to: Re: [gentoo-catalyst] chroot: cannot run command `/tmp/livecd-stage1-chroot.sh': Permission denied by Andrew Gaffney
1 > My guess is that you've got /var, /var/tmp, or /var/tmp/catalyst mounted with
2 > noexec.
3
4 # cat /etc/mtab |grep noexec
5
6 /proc /proc proc rw,nosuid,nodev,noexec 0 0
7 sysfs /sys sysfs rw,nosuid,nodev,noexec 0 0
8 devpts /dev/pts devpts rw,nosuid,noexec,gid=5,mode=620 0 0
9 shm /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0
10 usbfs /proc/bus/usb usbfs rw,noexec,nosuid,devmode=0664,devgid=85 0 0
11 binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,noexec,nosuid,nodev 0 0
12 securityfs /sys/kernel/security securityfs rw,noexec,nosuid,nodev 0 0
13
14 nope, admittedly I have /var/tmp/catalyst symlinked to /home/catalyst
15 due to space constraints on /var but that shouldn't affect anything.
16 perms on /home/catalyst are umask 002 and running all this as root.
17
18 --
19 Caleb Cushing
20
21 http://xenoterracide.blogspot.com