recently i did a fresh install of 11.3 on an ext4 partition.
My data disk is a ext3 and the new system mounts it during boot.
I can write to it but i can not execute programs from this partition.
in fstab i can not find something like “noexec”
permissions of mount folder looks ok for me.
Were these settings the result of a default setup using ext3 partitions or was this done by the user (wally345) I wonder? (i.e. adding in the user option)
Partition option settings were set to: “user,acl,user_xattr”
I notice that on my home area, which is for the entire user section of /home, was set for an ext4 partition as just “acl,user_xattr” and no user is added.
I was trying to figure out just what user_xattr means and I found this definition:
To set extended attributes, you should add the user_xattr property to the relevant file systems in your /etc/fstab file. Also note that neither Reiser4 nor NFS support extended attributes, so the sqlite-based fallback will be used by default.
Then put this file on that mounted partition, change its permissions to +x and see if you can run it: ./helloworld.sh
No need to do that. OP’s file system was effectively mounted ‘noexec’ because of the ‘user’ attribute.
@wally345: you did a good job giving the relevant information (i.e. the fstab entry) right in your first post. Maybe my answer was a bit short, but I thought it would put you on the right track – and it did.
vodoo:
I thought it would put you on the right track – and it did.
Yes, it did, (see my reply above )
twelveeighty:
see if you can run it: ./helloworld.sh
i asume doing so, will execute bash to proceed this script.
bash resides not on the mounted datadisk but in /bin/bash on the
systems “/” device.
jdmcdaniel3:
Were these settings the result of a default setup using ext3 partitions or was this done by the user (wally345) I wonder? (i.e. adding in the user option)
Yes, it’s possible i did it myself after installation. I think i did this always in past
on Opensuse <= 11.1, but i’m not sure