Configuration/Core/controller/extjs/product/export/text/default/dirperms

Summary
Directory permissions used when creating the directory if it doesn't exist

controller/extjs/product/export/text/default/dirperms = 509


 * Default: 509
 * Type: integer - Octal Unix permission representation
 * Since: 2014.03

Description
The representation of the permissions is in octal notation (using 0-7) with a leading zero. The first number after the leading zero are the permissions for the web server creating the directory, the second is for the primary group of the web server and the last number represents the permissions for everyone else.

You should use 0700 for the permissions as the web server needs to write into the new directory but the files shouldn't be publicall available. The group permissions are only important if you plan to retrieve the files directly via FTP or by other means because then you need to be able to read and manage those files. In this case use 0770 as permissions.

A more detailed description of the meaning of the Unix file permission bits can be found in the Wikipedia article about {@link https://en.wikipedia.org/wiki/File_system_permissions#Numeric_notation file system permissions}