Does the st_ino field of struct stat give information about permissions?
Does st_ino
give us any information about permission settings of a fil开发者_开发百科e? If yes how?
I thought only st_gid
, st_uid
and similar data members stored information related to permissions.
st_ino
is just the inode number - it is an ino_t
which is typedef'd and/or #defined in a system, filesystem, and compiler implementation specific way, but is generally an int
, long
, or int64
.
It contains no information about permissions.
精彩评论