| Subject: | Re: shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied |
|---|---|
| From: | Chet Ramey <chet.ramey@xxxxxxxx> |
| Date: | Thu, 17 Jul 2008 08:16:52 -0400 |
| Newsgroups: | gnu.bash.bug |
> *"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 export PWD Bash performs a check at startup in which it compares $PWD to `.' and skips the call to getcwd if the two refer to the same device and inode. File permissions may still keep you from being able to stat $PWD, but it's worth a shot. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Chet Ramey, ITS, CWRU chet@xxxxxxxx http://tiswww.tis.case.edu/~chet/ |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied, LynnOS |
|---|---|
| Next by Date: | patch number 035, Roman Rakus |
| Previous by Thread: | Re: shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied, LynnOS |
| Next by Thread: | Re: shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied, LynnOS |
| Indexes: | [Date] [Thread] [Top] [All Lists] |