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.

已提問 1 年前檢視次數 37 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南