delorie.com/archives/browse.cgi | search |
At 10:36 PM 10/22/2002 -0400, Christopher Faylor wrote: >>Also, you have >> buf->st_mode |= STD_XBITS; >>so there will be x bits even when it isn't readable. >>That can be improved easily, for 1 or 2 or the script. > > The file is certainly readable if you've just figured out >that it began with '#!' by reading the first two characters. I meant, e.g. if it's rw-r----- make it rwxr-x---, not rwxr-x--x. Pierre
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |