shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied

2008-07-03 Thread LynnOS
[EMAIL PROTECTED] Linux-vserver:~# pwd /root [EMAIL PROTECTED] Linux-vserver:~# ls -ld /root drwx--3 root root 4096 Jul 3 14:52 /root [EMAIL PROTECTED] Linux-vserver:~# su lynn *shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission

Re: shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied

2008-07-16 Thread LynnOS
*"You might be able to avoid the need for the getcwd call at startup by exporting PWD*" Sorry,would you give us more details about how to avoid the "error" message Thanks very much LynnOS 2008/7/13 Chet Ramey <[EMAIL PROTECTED]>: > [EMAIL PROTECTED] wrote: >

Re: shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied

2008-07-17 Thread LynnOS
Thanks ,but after I export PWD,the problem doesn't go the following is my step: [EMAIL PROTECTED]:~# export declare -x EDITOR="/bin/vi" declare -x HOME="/root" declare -x LD_LIBRARY_PATH="/usr/lib:/lib" declare -x LOGNAME="root" declare -x MAIL="/var/mail/root" declare -x OLDPWD declare -x OPIEDI