I got the denied error when I login with user pgsql,
it said:
/usr/local/pgsql: permission denied
I donot know why the permission is denied .
and when I run ". .profile" , it get the error too.
why?
$ ls -ld pgsql
drwxr-xr-x 6 pgsql pgsql 1024 7/26 11:08 pgsql
$ ls -la .profile
-rw-r--r-- 1 pgsql pgsql 432 7/26 11:04 .profile
$ cat .profile
# both new and old layout's paths, but new path first...
PATH=/usr/local/bin:${PATH}
PGLIB=/usr/local/lib
# note: PGDATA can be overridden by the -D startup option
PGDATA=${HOME}/data
export PATH PGLIB PGDATA
#You might want to set some locale stuff here
#PGDATESTYLE=ISO
#LC_ALL=sv_SE.ISO_8859-1
#export PGDATESTYLE LC_ALL
# if you want to make regression tests use this TZ
#TZ=PST8PDT
#export TZ
LANG=ja_JP.EUC
export LANG
it said:
/usr/local/pgsql: permission denied
I donot know why the permission is denied .
and when I run ". .profile" , it get the error too.
why?
$ ls -ld pgsql
drwxr-xr-x 6 pgsql pgsql 1024 7/26 11:08 pgsql
$ ls -la .profile
-rw-r--r-- 1 pgsql pgsql 432 7/26 11:04 .profile
$ cat .profile
# both new and old layout's paths, but new path first...
PATH=/usr/local/bin:${PATH}
PGLIB=/usr/local/lib
# note: PGDATA can be overridden by the -D startup option
PGDATA=${HOME}/data
export PATH PGLIB PGDATA
#You might want to set some locale stuff here
#PGDATESTYLE=ISO
#LC_ALL=sv_SE.ISO_8859-1
#export PGDATESTYLE LC_ALL
# if you want to make regression tests use this TZ
#TZ=PST8PDT
#export TZ
LANG=ja_JP.EUC
export LANG