logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Configure apache with write access to a file
Author
VeeDub



Joined: 15 Oct 2023
Posts: 2
Location: Sydney, Australia

PostPosted: Sun 15 Oct '23 10:42    Post subject: Configure apache with write access to a file Reply with quote

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

PostPosted: Tue 17 Oct '23 16:45    Post subject: Reply with quote

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

PostPosted: Tue 17 Oct '23 22:10    Post subject: Reply with quote

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

PostPosted: Wed 18 Oct '23 8:35    Post subject: Reply with quote

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


Reply to topic   Topic: Configure apache with write access to a file View previous topic :: View next topic
Post new topic   Forum Index -> Apache