User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040922
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040922
When installaling mozilla-1.7.3 from Red Hat RPM on a fedora Core 2 system,
/usr/lib/mozilla-1.7.3/greprefs get modes 700 which only allow root to launch
mozilla while using autoconfiguration of mozilla. Other unprevileged user cannot
read that directory , and mozilla freeze on an unterminable futex and a
indeed for unprivilegde user I get from strace :
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 EACCES (Permission denied)
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 6
Steps to Reproduce:
1. check that mode a 700 on greprefs directory
2. start mozilla as non root
it start !
If I set /usr/lib/mozilla-1.7.3/greprefs modes 755 then everything is fine !
Why modes a so restrictive on greprefs directory ? is it dangerous to set it to
755 ? is it a bug, or a wrong packaging from the RPM ?
bsmedberg, is this a problem of make install, or is redhat to blame? :-)
We use nsinstall -D, I suppose there must be flags to change the security for
the created dir but I don't know what they are.
Currently, the only SeaMonkey-trunk Linux-i686 distributions are in .tar.gz (without installer) and .complete.mar format. Other packagings (such as RPM) are the responsibility of redistributors (such as RedHat etc.) and ought not to use trunk builds anyway.