public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: James <wireless@tampabay.rr.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user]  Re: Java jdk
Date: Mon, 3 Aug 2009 13:54:43 +0000 (UTC)	[thread overview]
Message-ID: <loom.20090803T133850-332@post.gmane.org> (raw)
In-Reply-To: 20090803193050.74dccf89@coercion

Mike Kazantsev <mk.fraggod <at> gmail.com> writes:


> > access("/usr/lib64/openoffice/program/../share/uno_packages/cache/registry/
> > com.sun.star.comp.deployment.configuration.PackageRegistryBackend/registry/
> > data/org/openoffice",
> > F_OK) = -1 EACCES (Permission denied)

> Why is that?


Good question, dunno....


> > stat("/usr/lib64/openoffice/program/../share/uno_packages/cache/registry/
> > com.sun.star.comp.deployment.configuration.PackageRegistryBackend/
> > registry/data/org/openoffice/Setup.xcu",
> > 0x7fff6244bd80) = -1 EACCES (Permission denied)

> ...same file again and (shortly) a crash.

> Prehaps you should check if it has some 0600 or 0640 mode and correct
> it to 644. Prehaps it's one of the parent dirs, just try to stat it as a
> user.


Well here's what I found:

# ls -alg /usr/lib64/openoffice/share/uno_packages/cache
total 13
drwxr-xr-x 4 root   168 Aug  2 16:34 .
drwxr-xr-x 3 root    72 Mar 26 02:33 ..
drwx------ 8 root   520 Jul 17 08:13 registry
-rw------- 1 root     1 Aug  2 16:34 stamp.sys
drwx------ 2 root    48 Jul 17 08:13 uno_packages
-rw------- 1 root 12288 Jul 17 08:13 uno_packages.db


so from that cache dir
chmod -R 755 *

fix it!

Thanks,


James











  reply	other threads:[~2009-08-03 13:55 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-02 19:42 [gentoo-user] Java jdk James
2009-08-02 20:26 ` [gentoo-user] " walt
2009-08-02 20:42   ` James
2009-08-02 20:57     ` Dale
2009-08-02 23:45       ` James
2009-08-03  0:23         ` Mike Kazantsev
2009-08-03  0:38           ` James
2009-08-03 13:30             ` Mike Kazantsev
2009-08-03 13:54               ` James [this message]
2009-08-03 14:54                 ` Dale
2009-08-03 15:04                 ` walt
2009-08-03 15:25                   ` James
2009-08-03 16:55                     ` walt
2009-08-03 17:20                       ` James
2009-08-03  0:52         ` Dale
2009-08-03 12:40           ` James
2009-08-02 21:26     ` walt
2009-08-02 23:54       ` James
2009-08-03  2:05     ` walt
2009-08-03 13:56       ` James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20090803T133850-332@post.gmane.org \
    --to=wireless@tampabay.rr.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox