access system call broken?

Clifford Spencer cspencer at bbncca.ARPA
Tue Nov 27 12:32:48 AEST 1984


In v7 and 4.2, with the possible exception of
write access, the access system call always returns
success for the super user. this seems wrong
to me. whether one is super user or not, if execute bits
are not set, that's all she wrote. any wisdom as to why
a call to check execute permission (i.e access(filename, 01))
should return 0 for a plain file with no execute permissions?
				
				cliff
-- 
{decvax,linus,ima,ihnp4,wjh12}!bbncca!cspencer
cspencer at bbncca.ARPA



More information about the Comp.unix.wizards mailing list