public static void addChmod777(String filePath) throws IOException {
if (!System.getProperty("os.name").startsWith("Win")) {
String cmdGrant = "chmod 777 " + filePath;
BaseLogMethod.logInfo(TAG, "File Augmentation after Moving:" + cmdGrant);
Runtime.getRuntime().exec(cmdGrant);
}
}
public static void addRChmod777(String filePath) throws IOException {
if (!System.getProperty("os.name").startsWith("Win")) {
String cmdGrant = "chmod -R 777 " + filePath;
BaseLogMethod.logInfo(TAG, ".addRChmod777: File Augmentation after Moving:" + cmdGrant);
Runtime.getRuntime().exec(cmdGrant);
}
}