Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Configure apache with write access to a file |
|
Author |
|
VeeDub
Joined: 15 Oct 2023 Posts: 2 Location: Sydney, Australia
|
Posted: Sun 15 Oct '23 10:42 Post subject: Configure apache with write access to a file |
|
|
Hello,
I have installed apache2 on Debian Bullseye.
I am attempting to install an application: Baculum onto my system and Baculum requires the Web server to have write access to the following file:
/etc/baculum/Config-api-cache
I was hoping someone on this forum would be able to advise how to configure apache2 on Debian to achieve this.
Thank you
VW |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Tue 17 Oct '23 16:45 Post subject: |
|
|
You may use chown and chmod for Apache to be able to write to that directory. |
|
Back to top |
|
VeeDub
Joined: 15 Oct 2023 Posts: 2 Location: Sydney, Australia
|
Posted: Tue 17 Oct '23 22:10 Post subject: |
|
|
Hello,
I tried that, but didn't work.
Should the user/group that I be granting permissions to be:
www-data
Thanks |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Wed 18 Oct '23 8:35 Post subject: |
|
|
VeeDub wrote: | Hello,
I tried that, but didn't work.
Should the user/group that I be granting permissions to be:
www-data
Thanks |
If your Apache runs as www-data then chown to root:www-data and give the group write access. |
|
Back to top |
|
|
|
|
|
|