Apache OpenOffice (AOO) Bugzilla – Issue 4971
OpenOffice requires read access to /home
Last modified: 2002-07-03 08:30:15 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.
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 +++
This one is not a bug but might be a wish for a feature. Staroffice/Openoffice needs the appropiate rights to run correctly.
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.
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 !