Does anyone here have any skill with C systems programming? I've been trying to read file permissions of all files in a directory, but everything comes up [----------] (i.e. 000) when I lstat() and bitwise & to check the flag.