How to change the default umask on VPS/Dedicated server ?

Started by Dipak Bhoi, September 14, 2014, 06:10:05 PM

Previous topic - Next topic

Dipak Bhoi

Hello Guys,

Umask determines the permissions for the newly created files. You can change umask to suit your specific needs by editing following file.

Quote#vi /usr/local/apache/bin/envvars

You can add value like as below

Quoteumask 022

Save and close the file and restart apache service.

Enjoy !!

Looking for quality VPS hosting? Look no further than MilesWeb VPS Hosting.
MilesWeb - 30-Day Money Back
cPanel Web Hosting - cPanel Hosting in India
Grab a Free SSL for your website.  WordPress Optimized Solution.