On Windows, the return value of getfattr() is not compatible with chmod()
(totally differnet bit values). So create getfmode() which is a thin wrapper for stat() and can be used to read a chmod()-comopatible value on all supported OSes.
Showing
Please register or sign in to comment