goffice directory permission error
- From: bill lam <cbill lam gmail com>
- To: gnumeric-list <gnumeric-list gnome org>
- Subject: goffice directory permission error
- Date: Fri, 19 Mar 2010 12:42:33 +0800
I build goffice from git under debian squeeze,
I also set umask 027 in my .profile
having done 'sudo make install', open a new gnumeric and try to insert
a chart, it pop up a window
Fail to open file '/usr/share/goffice/0.8.2/ui/gog-guru.ui'
Permission denied.
on checking these files
-rw-r--r-- 1 root root 3860 2010-03-19 11:38 go-3d-rotation-sel.ui
-rw-r--r-- 1 root root 6640 2010-03-19 11:38 go-font-sel.ui
-rw-r--r-- 1 root root 31134 2010-03-19 11:38 go-format-sel.ui
-rw-r--r-- 1 root root 7007 2010-03-19 11:38 gog-3d-box-prefs.ui
-rw-r--r-- 1 root root 31489 2010-03-19 11:38 gog-axis-prefs.ui
-rw-r--r-- 1 root root 2089 2010-03-19 11:38 gog-equation-prefs.ui
-rw-r--r-- 1 root root 17034 2010-03-19 11:38 gog-error-bar-prefs.ui
-rw-r--r-- 1 root root 3817 2010-03-19 11:38 gog-graph-prefs.ui
-rw-r--r-- 1 root root 7336 2010-03-19 11:38 gog-guru-type-selector.ui
-rw-r--r-- 1 root root 21319 2010-03-19 11:38 gog-guru.ui
-rw-r--r-- 1 root root 27531 2010-03-19 11:38 gog-object-prefs.ui
-rw-r--r-- 1 root root 12814 2010-03-19 11:38 gog-plot-prefs.ui
-rw-r--r-- 1 root root 2797 2010-03-19 11:38 gog-reg-curve-prefs.ui
-rw-r--r-- 1 root root 1551 2010-03-19 11:38 gog-reg-eqn-prefs.ui
-rw-r--r-- 1 root root 7034 2010-03-19 11:38 gog-series-prefs.ui
-rw-r--r-- 1 root root 5103 2010-03-19 11:38 go-image-save-dialog-extra.ui
-rw-r--r-- 1 root root 11477 2010-03-19 11:38 go-image-sel.ui
-rw-r--r-- 1 root root 5707 2010-03-19 11:38 go-rotation-sel.ui
-rw-r--r-- 1 root root 45197 2010-03-19 11:38 go-style-prefs.ui
this seems ok, but on checking the directory permission, I found that directory
/usr/share/goffice and its sub-directory deny all read/write/browse to others.
drwxr-x--- 3 root root 4096 2010-03-19 12:30 goffice
remove the goffice and redo as 'export umask 022 ; sudo make install' solved
the problem.
why 'sudo make install' not override user umask? I guess gnumeric
directory have the same issue.
--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]