In this post we will demonstrate how to create authorized files with correct permissions in Linux. First create the deploy user and in my case add it to the docker group: $ useradd -s /bin/bash -m -G docker -c "docker