====== getPermissions ====== {#JAPI Joomla.Framework FileSystem JPath::getPermissions #} Get the permissions of the file or folder on a given path. ===== Syntax ===== string getPermissions ( **$path** ) | **$path** | string | is a string containing the path of a file or folder. | ===== Examples ===== jimport( 'joomla.filesystem.path' ); echo "File permissions: " . JPath::getPermissions( JPATH_ROOT . '/robots.txt' ); might produce: File permissions: rw-rw-rw- ---- ~~DISCUSSION~~