apache umask - have the apache user create new files with 664 permissions

0

I'm running a Amazon EC2 instance - Amazon Linux release 2 (Karoo).

The apache server sets files it creates with the permissions 644. I want them to be 664. I've tried changing the umask setting to 002 (from 022) in every single line that has 'umask' in the /etc folder and sub-folders. This didn't seem to work. I also tried various solutions on the Internet about having the specific service set the umask to no avail.

Thanks.

demandé il y a un an37 vues
Aucune réponse

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions