> > > > > I see no reason for "access(file, X_OK))" should return 0 for > > > > > ordinary files which have no execute bit set. > > > > > > > > > > I think we can just change that. > > > > > > > >Modulo due diligence to see what in our codebase might be depending on > > it. > > > >Is it really worth it? > > > > > > As supposed to adding __posix_access or not touching anything? > > > > I was speaking specifically with regard to changing the semantics of X_OK > > for access(). I agree the existing behavior is questionable but one could > > make the argument that all of access() is a questionable. If this issue > > is e.g. impacting porting code from other systems then I see the point. > > Otherwise, why do this and risk unintended breakage? > > Bash and GNU coreutils (and probably others) use eaccess for > implementing 'test -x'. Both are currently broken if you're doing > things as root.
OK. -- meem _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
