Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342142 - Strange errors in console when running SharedInstallTests
Summary: Strange errors in console when running SharedInstallTests
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.7   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.7 M7   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-07 07:44 EDT by DJ Houghton CLA
Modified: 2011-04-07 11:06 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DJ Houghton CLA 2011-04-07 07:44:54 EDT
When running the SharedInstallTests, there are several hundred (one for every file?) errors in the console logs about problems with chmod. For instance: 

  [java] STDERR: chmod: /tmp/1302153552237-0.7321328440426936/eclipse/dropins: new permissions are r-xrwxr-x, not r-xr-xr-x
     [java] STDERR: chmod: /tmp/1302153552237-0.7321328440426936/eclipse/readme: new permissions are r-xrwxr-x, not r-xr-xr-x
     [java] STDERR: chmod: /tmp/1302153552237-0.7321328440426936/eclipse/readme/readme_eclipse.html: new permissions are r--rw-r--, not r--r--r--
     [java] STDERR: chmod: /tmp/1302153552237-0.7321328440426936/eclipse/about_files: new permissions are r-xrwxr-x, not r-xr-xr-x
     [java] STDERR: chmod: /tmp/1302153552237-0.7321328440426936/eclipse/about_files/mpl-v11.txt: new permissions are r--rw-r--, not r--r--r--
     [java] STDERR: chmod: /tmp/1302153552237-0.7321328440426936/eclipse/about_files/IJG_README: new permissions are r--rw-r--, not r--r--r--
     [java] STDERR: chmod: /tmp/1302153552237-0.7321328440426936/eclipse/about_files/pixman-licenses.txt: new permissions are r--rw-r--, not r--r--r--
     [java] STDERR: chmod: /tmp/1302153552237-0.7321328440426936/eclipse/about_files/webkit-bsd.txt: new permissions are r--rw-r--, not r--r--r--
     [java] STDERR: chmod: /tmp/1302153552237-0.7321328440426936/eclipse/about_files/about_cairo.html: new permissions are r--rw-r--, not r--r--r--
     [java] STDERR: chmod: /tmp/1302153552237-0.7321328440426936/eclipse/about_files/lgpl-v21.txt: new permissions are r--rw-r--, not r--r--r--
     [java] STDERR: chmod: /tmp/1302153552237-0.7321328440426936/eclipse/p2: new permissions are r-xrwxr-x, not r-xr-xr-x
     [java] STDERR: chmod: /tmp/1302153552237-0.7321328440426936/eclipse/p2/org.eclipse.equinox.p2.core: new permissions are r-xrwxr-x, not r-xr-xr-x
     [java] STDERR: chmod: /tmp/1302153552237-0.7321328440426936/eclipse/p2/org.eclipse.equinox.p2.core/cache: new permissions are r-xrwxr-x, not r-xr-xr-x
Comment 1 DJ Houghton CLA 2011-04-07 09:28:54 EDT
Note this is on Linux only.
Comment 2 DJ Houghton CLA 2011-04-07 11:06:45 EDT
I was able to reproduce this on my local Linux machine. The call out to chmod was missing the "all" reference. (-w instead of a-w)

$ ls -l eclipse.ini
-r--rw-r-- 1 dj ottawa 294 Feb 10 16:28 eclipse.ini

$ chmod -w eclipse.ini
chmod: eclipse.ini: new permissions are r--rw-r--, not r--r--r--

$ chmod a-w eclipse.ini
$ ls -l eclipse.ini
-r--r--r-- 1 dj ottawa 294 Feb 10 16:28 eclipse.ini