<i>[file executable file_name] always returns 1 when working fr</i> status still Open with 4 other changes
by
.
D 2000-11-21T01:15:50
J icomment This\shas\snothing\sto\sdo\sin\sparticular\swith\sSolaris.\s\sThis\sis\sa\svalid\sstupid\sfeature\saccording\sto\sthe\sPOSIX\sspec.\s\sFrom\sthe\sspec:\n\n"Some\shistorical\simplementations\sof\saccess()\sdo\snot\scheck\sthe\sfile's\saccess\scorrectly\swhen\sthe\sreal\suser\sID\sof\sthe\sprocess\sis\sthe\ssuperuser.\s\sIn\sparticular,\sthey\sindicate\sthat\sthe\sfile\smay\sbe\sexecuted\swithout\sregard\sto\swhether\sthe\sfile\sis\sexecutable.\s\sThe\sstandards\sallow\sthis\sbehavior."\n\nThus,\swe\sshouldn't\srely\son\saccess()\sfor\sexecutability\swhen\sthe\suser\sis\sroot.\n
J login hobbs
J mimetype text/plain
J username hobbs
K 219254ffffffffffffffffffffffffffffffffff
U hobbs
Z 6e5cdccadf02120f191e00571de113d7