bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

shell-init: error retrieving current directory: getcwd: cannot access pa


From: LynnOS
Subject: shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied
Date: Thu, 3 Jul 2008 15:26:07 +0800

root@Avct Linux-vserver:~# pwd
/root
root@Avct Linux-vserver:~# ls -ld /root
drwx------    3 root     root         4096 Jul  3 14:52 /root
root@Avct Linux-vserver:~# su lynn
*shell-init: error retrieving current directory: getcwd: cannot access
parent directories: Permission denied*
lynn@Avct Linux-vserver:/root$

lynn@Avct 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

[Prev in Thread] Current Thread [Next in Thread]