Issue 4971 - OpenOffice requires read access to /home
Summary: OpenOffice requires read access to /home
Status: CLOSED WONT_FIX
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: OOo 1.0.0
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: thorsten.martens
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-17 09:24 UTC by jamescrompton
Modified: 2002-07-03 08:30 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description jamescrompton 2002-05-17 09:24:40 UTC
Systemwide installation, then workstation installation for user other than 
root: If the user doesn't have read access to the /home directory then the 
installation script is started every time an attmpt is made to start it. Entry 
access should be enough.
Comment 1 Unknown 2002-05-24 10:18:35 UTC
soffice segfault:

installed in ~/OpenOffice.org1.0 and the permission of /home is rwx--x--x.

strace of soffice:

open("/proc/5011/cmdline", O_RDONLY)    = 7
fstat64(7, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x41946000
read(7, "/home/jay/OpenOffice.org1.0/prog"..., 4096) = 48
read(7, "", 4096)                       = 0
close(7)                                = 0
munmap(0x41946000, 4096)                = 0
stat64("/home/jay/OpenOffice.org1.0/program/soffice.bin",
{st_mode=S_IFREG|0755, st_size=342846, ...}) = 0
stat64("/home/jay/OpenOffice.org1.0/program", {st_mode=S_IFDIR|0755,
st_size=8192, ...}) = 0
stat64("/", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
lstat64("/home/jay/OpenOffice.org1.0/program/.",
{st_mode=S_IFDIR|0755, st_size=8192, ...}) = 0
open("/home/jay/OpenOffice.org1.0/program/..",
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 7
fstat64(7, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl64(7, F_SETFD, FD_CLOEXEC)         = 0
lstat64("/home/jay/OpenOffice.org1.0/program/..",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
getdents64(0x7, 0x80cd250, 0x1000, 0)   = 384
close(7)                                = 0
lstat64("/home/jay/OpenOffice.org1.0/program/..",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/home/jay/OpenOffice.org1.0/program/../..",
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 7
fstat64(7, {st_mode=S_IFDIR|0700, st_size=8192, ...}) = 0
fcntl64(7, F_SETFD, FD_CLOEXEC)         = 0
lstat64("/home/jay/OpenOffice.org1.0/program/../..",
{st_mode=S_IFDIR|0700, st_size=8192, ...}) = 0
getdents64(0x7, 0x80cd250, 0x1000, 0)   = 4072
close(7)                                = 0
lstat64("/home/jay/OpenOffice.org1.0/program/../..",
{st_mode=S_IFDIR|0700, st_size=8192, ...}) = 0
open("/home/jay/OpenOffice.org1.0/program/../../..",
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 EACCES (Permission
denied)
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
Comment 2 thorsten.martens 2002-07-02 12:21:12 UTC
This one is not a bug but might be a wish for a feature.
Staroffice/Openoffice needs the appropiate rights to run correctly.
Comment 3 jamescrompton 2002-07-03 07:39:18 UTC
I don't see why read access to the directory containing a user's home 
directory should be necessary or even appropriate. A system 
administrator could have all kinds of good (or even bad) reasons for 
denying users access. Other applications don't need it.
Comment 4 thorsten.martens 2002-07-03 08:30:15 UTC
Feature is implemented in the way it is. Any wish for a change would
be a wish for an enhancement and can be reportet to the PM !