Page 1 of 1
Nextcloud over the internet - Can't access config.php permission denied
Posted: 13 May 2021, 12:08
by korani
Hi,
I was following the steps in this post:
viewtopic.php?f=41&t=1135&p=6127&hilit= ... ted+domain
to be able to access Nextcloud over the internet but when I tried to access config.php I got Permission denied message
I am using root username to SSH into the NAS
SSH.png
I am not professional with SSH so any help is appreciated

Re: Nextcloud over the internet - Can't access config.php permission denied
Posted: 13 May 2021, 14:14
by TMSupport
What's your TNAS model number and current TOS version?
Re: Nextcloud over the internet - Can't access config.php permission denied
Posted: 13 May 2021, 14:19
by korani
my TNaAS is F5-221 and TOS version is 4.2.09 which is the latest when I try to run Software update
Re: Nextcloud over the internet - Can't access config.php permission denied
Posted: 14 May 2021, 10:13
by TMSupport
Please set the permission to the config.php file using the cmd line chmod rwx
Re: Nextcloud over the internet - Can't access config.php permission denied
Posted: 14 May 2021, 11:00
by korani
Would you please provide the full command that I need to run? I tried to find the syntax online but I am not an expert
Re: Nextcloud over the internet - Can't access config.php permission denied
Posted: 14 May 2021, 16:46
by outkastm
Why do you want to access the file ? You want to read it or edit it ? You don't need to change his permission.
Open it with an editor, like
vi for editing
Code: Select all
vi /mnt/md0/application/web-ext/nextcloud/config/config.php
if you want to just read it
Code: Select all
cat /mnt/md0/application/web-ext/nextcloud/config/config.php
Re: Nextcloud over the internet - Can't access config.php permission denied
Posted: 17 May 2021, 06:20
by korani
[at=outkastm post_id=10339 time=1620982001 user_id=2797][/at]
Thank you, I managed to edit the file as needed
