[lkml]   [2001]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Anomalous results from access(2)
On Mon, Oct 15, 2001 at 03:18:09PM -0700, David S. wrote:

> [1.] Anomalous results from access(2)
> [2.] When by root run against files in the ext2 file system, access(2)
> reports non-executable files as executable. For a non-privileged
> user, access(2) reports non-executable files as non-executable.

All is entirely according to specs. I added the sentence

If the process has appropriate privileges, an implementa-
tion may indicate success for X_OK even if none of the
execute file permission bits are set.

to access.2.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:08    [W:0.061 / U:0.824 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site