user812954 user812954 - 2 months ago 8
Linux Question

cd into directory without having permission

When

cd
ing into one of my directories called
openfire
the following error is returned:

bash: cd: openfire: Permission denied


Is there any way around this?

Answer

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
Comments