in reply to Re^2: how to check permissionsin thread how to check permissions
Did you try the code which brother draconis helpfully copied out for you? In what way are you unable to determine the sticky bit from that?