mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-10 12:03:16 +02:00
changed to use chmod u+w
This commit is contained in:
parent
5609dc4895
commit
b6268ac689
2 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue