Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: mohsin on November 08, 2017, 07:15:10 AM

Title: Fixing Permissions for User Account
Post by: mohsin on November 08, 2017, 07:15:10 AM
Every time I push my project to server with git, it shows 500 internal server error. So I fix the permissions in my Web Panel and it start working. Why I have to fix permissions on every push ? What could be the possible reason ?
Title: Re: Fixing Permissions for User Account
Post by: kortibu on December 01, 2017, 02:52:55 AM
I'm also interesting to this problems.
Title: Re: Fixing Permissions for User Account
Post by: become on December 01, 2017, 08:25:05 AM
Me too.
My client have this problem all the time
Title: Re: Fixing Permissions for User Account
Post by: studio4host on December 01, 2017, 09:00:54 AM
why are you pushing updates with incorrect permissions ? suphp requires permissions to be 644 for files and 755 for folders....



Title: Re: Fixing Permissions for User Account
Post by: become on December 01, 2017, 12:27:42 PM
I have the same situation with suPHP enabled.
Somehow when user create ?? directory (I am not so sure) chown owner and group is the same and is set
as user_login
When suPHP is enabled group should be set as nobody becouse of Apache