Added a new configuration setting - directorypermissions - and set it by default to 0700.
Use it in check_dir_exists, to set the permissions of directories created in dataroot. Directories used to be created 0777, which is unnecessary unless the user is on shared hosting and needs to download their dataroot at some point later (which they will do for backup purposes).
Please register or sign in to comment