This commit is contained in:
Michael Klishin 2021-02-01 15:37:31 +03:00
parent ecd2d738c0
commit 20984b9a07
No known key found for this signature in database
GPG Key ID: E80EDCFA0CDB21EE
1 changed files with 1 additions and 1 deletions

View File

@ -1771,7 +1771,7 @@ fun(Dir) ->
Res
end}.
{validator, "file_accessible", "file doesn't exist or isn't readable",
{validator, "file_accessible", "file does not exist or cannot be read by the node",
fun(File) ->
case file:read_file_info(File) of
{ok, FileInfo} -> (element(4, FileInfo) == read) or (element(4, FileInfo) == read_write);