Replies: 1 comment 4 replies
-
So what’s the problem? Uploaded via apache user files have owner as apache. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've updated my little project to allow uploading images. Images are stored in
var/logos
folder. Initially I've uploaded around 800 images, done by usermarek
(myself), all works fine - apache can read them and display them on the web.Uploading images works fine too, images are saved, displayed on front end just fine. The problem shown up when I tried to deploy my application again with deployer:
Listing files shows new file was uploaded by user
apache
, but group remained asmarek
:Here's the
getfacl
output for the newly uploaded file:and for one I've copied by rsync earlier:
What have I done wrong?
I can fix the deployment issue by running
sudo chown marek.marek -R var/logos
but I shouldn't need to do that, if I understand correctly what deployer does on deployment.Beta Was this translation helpful? Give feedback.
All reactions