Search code examples
linuxunixpermissionsdirectory

cd into directory without having permission


When cding into one of my directories called openfire the following error is returned:

bash: cd: openfire: Permission denied

Is there any way around this?


Solution

  • Enter super user mode, and cd into the directory that you are not permissioned to go into. Sudo requires administrator password.

    sudo su
    cd directory