just when I thought I had everything built and running as I wanted, Sods law struck.
You that horrible noise you hear as the hard drive fails.
So new 500GB HD, nearly everything restored, Managed to build the app that wanted qmake-qt4 with qmake
Then went to build its companion app
ran ./bootstrap and got permission denied, chmod to 777 and got the same.
installed the missing autoconf and still got the same.
so I ran each line in bootstrap manually and the configure file was built.
Now I’m getting the same with configure, bootstrap still gives permission denied.
mount:-
/dev/sda2 on / type ext4 (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
devtmpfs on /dev type devtmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,mode=1777)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/sda3 on /home type ext4 (rw,noexec,nosuid,nodev,acl,user_xattr)
/dev/sda4 on /multimedia type ext4 (rw,noexec,nosuid,nodev,acl,user_xattr)
securityfs on /sys/kernel/security type securityfs (rw)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
gvfs-fuse-daemon on /home/richard/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=richard)
Exactly… ‘noexec’ is what I was after. As ken yap mentions it’s
trumping permissions on files. Move your directory structure somewhere
else like /tmp and then it should run, or else remove the noexec flag
(modify /etc/fstab and either remount or reboot). remount would be
something like sudo mount -o remount /home IIRC.
Good luck.
On 11/11/2010 06:06 PM, ken yap wrote:
>
> /home is mounted noexec. This means you can’t run programs in that
> partition.
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
is that normal on an install of suse to add the noexec flag to /home ?.
I haven’t come across that on other distros I’ve used.
I know Suse has a reputation for having its own peculiarities, as long as I know what they its not a problem.
I should have spotted that, bit tired after a complete reinstall and rebuild, 5 hours from new hard drive instal and recover 90% of the old HD contents.
Sorry mailed a reply too soon
Just went edit fstab , and cant see the noexec flag to remove ??
contents of fstab:
/dev/disk/by-id/ata-Hitachi_HDS721050CLA362_JPB540HA111KXB-part2 / ext4 acl,user_xattr 1 1
/dev/sda3 /home ext4 user,acl,user_xattr 1 2
/dev/sda4 /multimedia ext4 user,acl,user_xattr 1 2
/dev/disk/by-id/ata-Hitachi_HDS721050CLA362_JPB540HA111KXB-part1 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
I’ll change the name of this computer before the next reboot, to avoid any confusion.
I’ve looked through sysconfig to see if there is any security setting to change the mounting of /home, but can’t see any thing
but I did find it in mtab, so removed the flag.
now to reboot ?
Noexec and nosuid are implied by user. There’s no reason to specify user for non-removable filesystems. It’s not normal, you must have turned on user when installing the system. Ditto for sda4.
No good just removing in mtab. Mtab is regenerated every boot from fstab.