On Sunday 25 April 2004 20.49, Jake wrote:
Apologies, this is a poorly worded question. Let me try again.
My home partition seems to work despite the fact that it is mounted r/w only. No `x`. I've had a look at another machine set-up by someone more qualified than me and his permissions are the same. For the /home partition, permissions read rw-rw----.
The permissions on the device file have little bearing on this. You are not executing the device :)
OK, say I wanted to have /temp on a seperate partition but wanted to bar anything from executing from /temp?
Add 'noexec' to the mount options in /etc/fstab. Note, however, that it is extremely difficult to stop people from executing things on a partition. exec rights or no. On most systems, it is trivial to execute things on a noexec partition