That's information that would be returned by stat()
- in particular, file permissions, since that's what's actually tracked. (Other information includes timestamps, filesize, user/group owners, and the inode.)
There's also a command-line program stat
which is essentially a wrapper for that system call; try stat <file>
and you'll see all that kind of information.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…