- Mode([IO::Permission] ownerperms,[IO::Permission] groupperms,[IO::Permission] othersperms,Bool socket,Bool symlink,Bool regular,Bool block,Bool dir,Bool chardev,Bool fifo,Bool setUID,Bool setGID,Bool sticky)
This describes the mode of the file. The first three fields describe the access Permission for the file owner, the file group, and others, while the remaining fields state whether a particular file property is true.
This data type mostly applies to the filesystems normally found on POSIX systems. On Windows, the file permission and type model is somewhat different, so this data type may not hold especially useful information there.