One nifty feature of Horizon Workspace is the ability to share files and folders with external users. An “external user” could mean one of two things:
- A directory server user not synced to Horizon Workspace
- Someone outside of the enterprise
exceeds single file maximum upload size 2147483648 bytes
So how can we increase the virtual user’s file upload size limit?
Though the defaultExternal COS is hidden in the Administration Console, you can still configure its attributes via the data-va command line.
To change the upload file size limit for virtual users:
- Login to the data-va as root
- Change to the zimbra user:
sudo su – zimbra
- Switch to the virtual user tenant and modify the upload attribute to the desired file size limit, in bytes:
prov> st __virtual__
prov> mc defaultExternal hzndataFileUploadMaxSize filesize-in-bytes
prov> mc defaultExternal hzndataFileUploadMaxSizePerFile filesize-in-bytes
Increasing virtual user file upload limit to 3GB
- Restart the service
To view all COS, you can use ‘gac.’ Notice my example below doesn’t show defaultExternal because I do not have any virtual users:
Additionally you can run “zmprov gac -v” which will show all the configured attributes for each COS. The process outlined above can be used to edit any COS manually. Keep in mind a COS you’ve created in the Administrator Console GUI will be in the default tentant, not the __virtual__ tenant.