R. G. Newbury wrote:
Weird bit is that I was logged in as root..WHICH WAS MISLEADING. When
'nonexec' is set, ALL users are denied execution privileges. (This is
most useful for security purposes in denying the use of programs on for
example a USB stick from compromising the system.
Similarly, a filesystem mounted read-only will be read-only for all
users¹, including root. You may find this more obvious, especially if
you remember hardware write-protect tabs on floppies.
James.
¹ But not the kernel – journalling filesystems may be rolled back or
rolled forwards if they weren’t cleanly unmounted.
--
E-mail: james@ | "I don't think so," said René Descartes. Just then,
he
aprilcottage.co.uk | vanished.