Editing the config.php file

Hello All,

I am trying to navigate to the config.php file so i can change the maintenance status to false.
rgriffin@instance-5:~$ /var/www/owncloud/config/config.php
-bash: /var/www/owncloud/config/config.php: Permission denied

This is what I receive when I try to get into it.

Sorry if this is a nooby question or if this was already answered, I'm extremely new to own clouds and Linux (just started using on Monday) any help is greatly appreciated.


you need to switch to either the root user or the owner of that file (probably www-data) first before you're able to access it.

Oh okay. I got into thanks.

Also realized i had to use "nano" to edit the file not "edit"