Welcome to WebmasterWorld Guest from 220.127.116.11
Forum Moderators: phranque
I know I can change it with my FTP client, and I do that. But it's becoming a hassle to have to remember to change it every time I upload a file, or group of files, sometimes into subfolders on the server. It's especially irritating since our old Solaris/Apache server didn't work this way :-) So I was hoping to find out how to change the permissions that are set by default when I upload new files.
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
The umask 022 corresponds to a default chmod of 644 or 755.