pondersource / nextcloud-mfa-awareness

Make Nextcloud aware of whether the current user is logged in with Multi-Factor Authentication
MIT License
0 stars 2 forks source link

Cannot create or write into the data directory /var/www/html/data #50

Closed michielbdejong closed 1 year ago

michielbdejong commented 1 year ago

The trouble is that the git clone is done by the user on the host (in the case of gitpod, the user called “gitpod”). But when you mount it inside the container, it is the www-data user that needs access to it. Despite the fixes of #49 now I’m getting:

Cannot create or write into the data directory /var/www/html/data

So I think we should just go back to https://github.com/pondersource/nextcloud-mfa-awareness/commit/449c21cdeb2e5469ff2f40efa199a497375ac2ec#diff-3fbf99397d13f30575564ed44bc8aa3ad39f0d3b462e6950153e4251c248d8ffL23