Revision 2757

tmp/org.txm.statsengine.r.core/src/org/txm/statsengine/r/core/preferences/RPreferences.java (revision 2757)
130 130
		File rRootDir = new File(rpluginDir, os);
131 131
		File execFile = new File(rRootDir, "bin/" + extraSubPath + "R" + ext); //$NON-NLS-1$ //$NON-NLS-2$
132 132
		
133
		if (!execFile.setExecutable(true)) {
134
			Log.severe(TXMCoreMessages.bind("Error while setting execution file rights to: {0}.", execFile.getAbsolutePath()));
133
		if (!execFile.setExecutable(true) || !execFile.canExecute()) {
134
			Log.warning(TXMCoreMessages.bind("Error while setting execution file rights to: {0}.", execFile.getAbsolutePath()));
135 135
		}
136 136
		
137 137
		

Also available in: Unified diff