pwd: error retrieving current directory: getcwd: cannot access parent directories: Pe
On my os (building from scratch)
in /root dir a common user run $pwd pwd: error retrieving current directory: getcwd: cannot access parent directories: Permission denied Code:
lynn@Linux-vserver:/root$ ls -ld /root but in some populate distribution,it don't give above message Code:
lynn@ Linux-vserver:/root$ bash --version pwd commmand comes from shell thanks for your help Lynn |
I'm not sure I'm getting this. Are you saying a regular user who's current directory is "/root" is getting that error when issuing `pwd`? How is the user getting inside /root in the first place?
"Some popular distributions" don't set /root's permissions to 700 (as on your box) by default but rather 755 or such. |
All times are GMT -5. The time now is 11:26 PM. |