Today, one of the web designers who hosts a site on my server informed me that when he uploaded a new .php page, it was coming up with Internal Server Error.
When I checked the attributes of the file, it was owned by user1, but the group it was owned by was cpanelusers: a group I created a while ago in order to give two users access to eachother's files. (Long story short, one user controlled the mobile domain, the other the desktop domain, however many of the images and thumbnails used for the mobile domain were generated from files owned by the desktop domain user). The fix for that issue was to create the shared group "cpanelusers" and default newly created/uploaded files to being owned by that group.
The weird thing is, as soon as I changed the group ownership to the user1 group (along with keeping the user ownership set to the user1 user), the page loaded as expected.
I'm willing to bet that there's just something stupid in the cpanelusers group attributes that's preventing any web visitors from loading that particular .php, but I'm such a Linux newb I'm not even sure where to start looking.
Does anyone have any idea what might be causing this problem? Any tips on diagnostic approaches I could look into? Thank you.
When I checked the attributes of the file, it was owned by user1, but the group it was owned by was cpanelusers: a group I created a while ago in order to give two users access to eachother's files. (Long story short, one user controlled the mobile domain, the other the desktop domain, however many of the images and thumbnails used for the mobile domain were generated from files owned by the desktop domain user). The fix for that issue was to create the shared group "cpanelusers" and default newly created/uploaded files to being owned by that group.
The weird thing is, as soon as I changed the group ownership to the user1 group (along with keeping the user ownership set to the user1 user), the page loaded as expected.
I'm willing to bet that there's just something stupid in the cpanelusers group attributes that's preventing any web visitors from loading that particular .php, but I'm such a Linux newb I'm not even sure where to start looking.
Does anyone have any idea what might be causing this problem? Any tips on diagnostic approaches I could look into? Thank you.