1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-09-10 03:53:21 +02:00

changed to use chmod u+w

This commit is contained in:
David McKnight 2007-01-17 20:55:09 +00:00
parent 5609dc4895
commit b6268ac689
2 changed files with 2 additions and 2 deletions

View file

@ -1290,7 +1290,7 @@ private DataElement createDataElementFromLSString(DataElement subject,
// make this read-write
String[] cmd = new String[3];
cmd[0] = "chmod"; //$NON-NLS-1$
cmd[1] = "a+w"; //$NON-NLS-1$
cmd[1] = "u+w"; //$NON-NLS-1$
cmd[2] = filename.getAbsolutePath();
Process p = Runtime.getRuntime().exec(cmd);
int exitValue = p.waitFor();

View file

@ -1331,7 +1331,7 @@ public class LocalFileService extends AbstractFileService implements IFileServic
// make this read-write
String[] cmd = new String[3];
cmd[0] = "chmod"; //$NON-NLS-1$
cmd[1] = "a+w"; //$NON-NLS-1$
cmd[1] = "u+w"; //$NON-NLS-1$
cmd[2] = file.getAbsolutePath();
int exitValue = -1;
try