0

Now, I want upload wordpress files to my VPS by vsftpd, and I know different files have different umask value in wordpress, and when I set the default umask in vsftpd configure file. such as set "local_umask=022", and all upload files umask value will become 644.

Alfred Huang
  • 17,654
  • 32
  • 118
  • 189
Shamrocker
  • 121
  • 2
  • 11

1 Answers1

0

Umask is a filter (a mask, hence the name), not the actual permissions. Writing a file with requested permissions 0666 and an umask of 022 will result in actual permissions 0644.

tripleee
  • 175,061
  • 34
  • 275
  • 318