忘記之前好像也有人有這個問題吧@@
我裝完openoffice2.1.0
用root可以執行
可是用一般使用者執行的話
卻會出現
Insecure $ENV{PATH} while running setuid at /usr/bin/ooffice2 line 122.
請問這是什麼問題呢@@
openoffice2 一般使用者無法使用@@
Moderator: Forums Team
你是裝哪個版本?是自己compile的?還是bin的?
我是裝自己compile的版本(v 2.1.0 跟你一樣)
用一般user啟動並沒有問題
而且我去看 /usr/bin/office2裡也只有四行而已
找不到122行咧 
我是裝自己compile的版本(v 2.1.0 跟你一樣)
用一般user啟動並沒有問題
而且我去看 /usr/bin/office2裡也只有四行而已
Code: Select all
#!/bin/sh
export OOO_EXTRA_ARG=''
unset PYTHONPATH
/usr/lib/openoffice/program/ooqstart "$@"
忘記說scsi wrote:你是裝哪個版本?是自己compile的?還是bin的?
我是裝自己compile的版本(v 2.1.0 跟你一樣)
用一般user啟動並沒有問題
而且我去看 /usr/bin/office2裡也只有四行而已找不到122行咧Code: Select all
#!/bin/sh export OOO_EXTRA_ARG='' unset PYTHONPATH /usr/lib/openoffice/program/ooqstart "$@"
我裝的是app-office/openoffice-bin
然後第122行是
Code: Select all
exec "$SystemInstallDir/program/soffice", @ooo_argvCode: Select all
# set path so that other apps can be started from soffice just by name
if [ "$PATH" ]; then
PATH="$sd_prog":$PATH
else
PATH="$sd_prog"
fi
export PATH
Code: Select all
[1]scsioffice ebuildteam # equery l openoffice
[ Searching for package 'openoffice' in all categories among: ]
* installed packages
[I--] [ ~] app-office/openoffice-2.1.0 (0)
我沒有用過bin的版本
還是你要不要花點時間compile一下,裝個一天應該夠吧