• chevron_right

    Home encryption and file access for external services on Debian

    Timothée Jaussoin – Monday, 13 November, 2017 - 10:18

Little trick (and reminder for me). After using ecryptfs-migrate-home on my Debian machine to #encrypt my /home partition I found out that #nginx was not able to access projects that were hosted in this partition.

Thanks to this GitHub Gitst by jhjguxin it seems that the #migration change the rights on the directory to 700 which prevent nginx to access files within it properly.

To fix that you should at least allow read #access.

# chmod 701 /home/user

Et voilà :)