diff --git a/reference/filesystem/functions/realpath.xml b/reference/filesystem/functions/realpath.xml index 92d7161567..b3488ad274 100644 --- a/reference/filesystem/functions/realpath.xml +++ b/reference/filesystem/functions/realpath.xml @@ -15,7 +15,7 @@ realpath expands all symbolic links and resolves references to '/./', '/../' and extra '/' characters in - the input path. and return the canonicalized + the input path and return the canonicalized absolute pathname. @@ -46,6 +46,13 @@ realpath returns &false; on failure, e.g. if the file does not exist. + + + The running script must have executable permissions on all directories in + the hierarchy, otherwise realpath will return + &false;. + +