Get ready for a shock, then:
(On a machine running Redhat Linux 5.2):
$ mkdir foo
$ cp /bin/date foo
$ chmod 100 foo/date
$ chmod 100 foo
$ ls foo
ls: foo: Permission denied
$ cat foo/date
cat: foo/date: Permission denied
$ ./foo/date
Fri Feb 5 13:28:53 EST 1999
You don't need ACLs to pull this little trick; ordinary POSIX
permissions will do.
--
Mirian Crzig Lennox Systems Anarchist
"There's a New World Order coming every minute.
Make mine extra cheese."
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/