Hi
I've started using GIT on my server running WHM/cPanel, which is now pre-installed.
Currently I SSH the server as the root user and navigate to the relevant website folder in the home directory and pull any changes from the relevant repository held in BitBucket.
This works fine, but because the files in that directory were previously uploaded using FTP and the relevant user's credentials, I get an error in the log files saying 'SoftException UID is smaller than min_uid', I've read online that this is because i've used the root user to make changes to that directory.
I can fix this by changing the ownership of the relevant files, but I don't want to have to do this every time.
What user should I be using for GIT, surely I don't have to SSH using each users credentials every time?
I've started using GIT on my server running WHM/cPanel, which is now pre-installed.
Currently I SSH the server as the root user and navigate to the relevant website folder in the home directory and pull any changes from the relevant repository held in BitBucket.
This works fine, but because the files in that directory were previously uploaded using FTP and the relevant user's credentials, I get an error in the log files saying 'SoftException UID is smaller than min_uid', I've read online that this is because i've used the root user to make changes to that directory.
I can fix this by changing the ownership of the relevant files, but I don't want to have to do this every time.
What user should I be using for GIT, surely I don't have to SSH using each users credentials every time?