Hi, I'm testing an app on Windows and Unix with commons-io-1.4.jar On Windows calculating the freeSpace is OK, but on Unix I get the following error. Executing 'df -k' manually on the machine works as expected. Too bad we don't see a better error description. Does anyone have any hints where to look for the problem? Maybe userrights?
java.io.IOException: Command line returned OS error code '1' for command [df, -k, ] at org.apache.commons.io.FileSystemUtils.performCommand(FileSystemUtils.java:419) at org.apache.commons.io.FileSystemUtils.freeSpaceUnix(FileSystemUtils.java:323) at org.apache.commons.io.FileSystemUtils.freeSpaceOS(FileSystemUtils.java:196) at org.apache.commons.io.FileSystemUtils.freeSpaceKb(FileSystemUtils.java:166)
