Converts a UNIX chmod value to strings that represent user, group, and Owner permissions.
procedure ChmodNoToPerms( const AChmodNo: Integer; var VUser: String; var VGroup: String; var VOther: String ); overload;
ChmodNoToPerms is an overloaded procedure used to convert the UNIX chmod value in AChmodNo to strings that represent the corresponding user, group, and Owner permissions for the value.
ChmodNoToPerms calls the overloaded method to convert the bits in AChmodNo to its' representation as a String. The string representation of the chmod bits are copied in to the VUser, VGroup, and VOther arguments.
ChmodNoToPerms is used in parsers for structured directory listings in TIdFTP that support the capability.
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.