David Bartley <[email protected]> wrote:

> On Tue, Jan 13, 2009 at 5:12 AM,  <[email protected]> wrote:
> >
> > 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.
>
> This behaviour is controlled by the file_dac_execute privilege.
> Processes running as root will always get this privilege in their

Even root can execute things only if at least one "x" bit has been set.
The file_dac_execute privilege just controls wheter the "right" bit is required 
or whether any "x" bit would be OK.

Jörg

-- 
 EMail:[email protected] (home) Jörg Schilling D-13353 Berlin
       [email protected]                (uni)  
       [email protected] (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to