Calling FileSystemUtils.freeSpaceKb with ".", "./", "../", "../foo" etc. will result in an empty string being passed to df.
freeSpaceKb calls FileNameUtils.normalize on the path which destroys relative paths.
I don't see any need to normalize the path so the fix is simply to remove that call.
|Fix Version/s||2.0 [ 12312961 ]|
|Workflow||jira [ 12448514 ]||Default workflow, editable Closed status [ 12601826 ]|
|Status||Resolved [ 5 ]||Closed [ 6 ]|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Resolution||Fixed [ 1 ]|
|Field||Original Value||New Value|
|Summary||FileSystemUtils.freeSpaceKb doesn't work with relative paths||FileSystemUtils.freeSpaceKb doesn't work with relative paths on Linux|