# Unable to configure on debian (asking again)

**URL:** <https://forum.gitea.com/t/unable-to-configure-on-debian-asking-again/4576>\
**Category:** Install/Maintain/Configure\
**Created:** [February 5, 2022, 8:01am UTC](https://forum.gitea.com/t/unable-to-configure-on-debian-asking-again/4576 "2022-02-05T08:01:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sakivwarla](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@sakivwarla](https://forum.gitea.com/u/sakivwarla)\
**Post date:** [February 5, 2022, 8:01am UTC](https://forum.gitea.com/t/unable-to-configure-on-debian-asking-again/4576/1 "2022-02-05T08:01:12Z")

</div>

Sorry, I deleted the earlier topic by mistake and cannot seem to figure out how to undo it. Hence creating a new topic. My apologies for this mess.

I am getting something similar while trying to configure gitea on a debian machine. I used snap to install gitea, and have created the necessary postgres database/user.

Then, I run gitea using:

GITEA\_WORK\_DIRE=/var/lib/gitea/ /usr/local/bin/gitea web -c /etc/gitea/app.ini

When I try to configure on the browser, I get the following error:

“Failed to save configuration: open /etc/gitea/app.ini: permission denied”

At the moment /etc/gitea has all the permissions, and as a normal user, I can create/modify /etc/gitea/app.ini (for example, touch /etc/gitea/app.ini). In fact, even if I specify the location of app.ini in my own home directory while starting gitea, the web interface does not create app.ini.

This is peculiar, and I can’t seem to figure out what is wrong. Would appreciate any help.
