access() call as a su

Ivo Welch iwelch at agsm.ucla.edu
Wed Nov 14 08:54:45 AEST 1990


On Mach, a BSD 4.3 clone with a gcc compiler:

I am trying to establish if a file has the executable  attribute set. access()
works just fine if I am not  the su, or if  I su name. However,  if I just su,
(i.e. become root), all files appear to access() to be executable.

Is this a bug on my machine, or am I doing something wrong?

/ivo welch	ivo at next.agsm.ucla.edu



More information about the Comp.unix.questions mailing list