ghantoos / lshell

lshell is a shell coded in Python, that lets you restrict a user's environment to limited sets of commands, choose to enable/disable any command over SSH (e.g. SCP, SFTP, rsync, etc.), log user's commands, implement timing restriction, and more.
GNU General Public License v3.0
435 stars 112 forks source link

[bug] issue with symlinked directories #134

Open ghantoos opened 8 years ago

ghantoos commented 8 years ago

Report by @lmarkov in https://github.com/ghantoos/lshell/issues/114#issuecomment-200396973

Hello,

Is there option to see the path for symlink instead the real path. For example I have symlink in directory /home/myuser

access-logs -> /usr/local/apache/domlogs/myuser

and when I enter with:

cd access-logs

the result in pwd is

/usr/local/apache/domlogs/jadoreb

instead:

/home/myuser/access-logs

Can you suggest a solution?