Change the permissions by default on a folder created through Connect Web UI


When a new folder is created via the New Folder button in the Connect Server web interface, the default permissions on the folder are 755. You can change the permissions that folders created this way take on by modifying the file.


1. Open the following file in a text editor:

  • /opt/aspera/var/webtools/scripts/

2. Find the sub create_folder section and set the umask as demonstrated below:

sub create_folder { 
umask 077; 
my $folderName = $cgi->url_param("folder_name"); 
my $err = "";

The umask applies the same as a UNIX umask, so in this example it will create folders with permissions 700.

Powered by Zendesk