Permissions still screwy in Graal OpenJDK builds

Charles Oliver Nutter headius at headius.com
Sun Feb 9 09:47:50 PST 2014


I just unpacked with tar xzf. If I unpacked using your flags, though, it
would still be stuck as root with missing permissions for users, wouldn't
it?

- Charlie (mobile)
On Feb 9, 2014 5:06 AM, "Bernhard Urban" <lewurm at gmail.com> wrote:

> Hi Charles,
>
> how do you extract the archive? 504 is the UID of the user on our build
> machine. tar(1) restores ownership if extracting an archive as root. Can
> you try "--no-same-owner" or just "-o"?
>
>
> -Bernhard
>
>
> On Fri, Feb 7, 2014 at 5:01 PM, Charles Oliver Nutter <headius at headius.com
> > wrote:
>
>> I'm using builds from here: http://lafo.ssw.uni-linz.ac.at/builds/
>>
>> And I'm seeing lots of files and dirs with messed up permissions like
>> this:
>>
>> system ~/projects/jruby $ ls -l
>> /Library/Java/JavaVirtualMachines/graal/Contents/Home/jre/lib/
>> total 173824
>> -rwxr-xr-x@ 1 504  staff   2666876 Jan  8 07:29 JObjC.jar
>> drwxr-xr-x@ 2 504  staff        68 Jan  8 07:29 applet
>> -rwxr-xr-x@ 1 504  staff      2375 Jan  8 07:29 calendars.properties
>> -rwxr-xr-x@ 1 504  staff   3131343 Jan  8 07:29 charsets.jar
>> -rwxr-xr-x@ 1 504  staff     72450 Jan  8 07:29 classlist
>> drwxr-xr-x@ 2 504  staff       238 Jan  8 07:29 cmm
>> -rwxr-xr-x@ 1 504  staff      5916 Jan  8 07:29 content-types.properties
>> -rwxr-xr-x@ 1 504  staff      4028 Jan  8 07:29 currency.data
>> drwxr-xr-x@ 2 504  staff       374 Jan  8 07:29 ext
>> -rwxr-xr-x@ 1 504  staff      4026 Jan  8 07:29 flavormap.properties
>> -rwxr-xr-x@ 1 504  staff      3058 Jan  8 07:29 fontconfig.bfc
>> -rwxr-xr-x@ 1 504  staff      9084 Jan  8 07:29 fontconfig.properties.src
>> drwx------  2 504  staff       136 Feb  5 08:50 graal
>> -rw-------  1 504  staff   7395607 Feb  5 08:50 graal.jar
>> -rwxr-xr-x@ 1 504  staff     14959 Jan  8 07:29
>> hijrah-config-umalqura.properties
>> -rwxr-xr-x@ 1 504  staff   1192520 Feb  5 08:47 hsdis-amd64.dylib
>> drwxr-xr-x@ 3 504  staff       102 Jan  8 07:29 images
>> -rwxr-xr-x@ 1 504  staff     92835 Jan  8 07:29 jce.jar
>> drwxr-xr-x@ 2 504  staff       102 Jan  8 07:29 jli
>> -rwxr-xr-x@ 1 504  staff     15128 Jan  8 07:29 jspawnhelper
>> -rwxr-xr-x@ 1 504  staff    618596 Jan  8 07:29 jsse.jar
>> -rw-------  1 504  staff      1701 Feb  5 08:50 jvm.cfg
>>
>> This makes it impossible to install Graal alongside my other
>> system-level JVMs without having to monkey with permissions
>> throughout. I'm not sure how these builds are being created, but
>> perhaps this can be fixed?
>>
>> - Charlie
>>
>>
>


More information about the graal-dev mailing list