Hello,

I got the same error and I corrected it by changing the shell in /etc/
passwd.
changed from /usr/bin/bash/ to /bin/sh ...

sum
--------

LynnOS wrote:
> [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 denied*
> [EMAIL PROTECTED] Linux-vserver:/root$
>
> [EMAIL PROTECTED] Linux-vserver:/root$ bash --version
> GNU bash, version 3.2.39(1)-release (i686-pc-linux-gnu)
> Copyright (C) 2007 Free Software Foundation, Inc.
>
> ===============================================================================
>
> I appay 39 patches from  http://ftp.gnu.org/gnu/bash/bash-3.2-patches
> but the error message doesn't go
> in many popular linux distributions,the problem disappear
>
> thanks
>
> --
> OpenEmbedded,Linux vserver,Python

Reply via email to