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