jdel / sspks

A very simple Synology Package Server, reverse engineered from the official Synology package repository and SynoCommunity.
GNU General Public License v3.0
254 stars 64 forks source link

Check available disk space before trying to unpack files #22

Closed mbirth closed 7 years ago

mbirth commented 7 years ago

If there's no disk space available, trying to unpack metadata from packages will result in error messages like:

failed: Cannot extract "INFO" to "/tmp/INFO", copying contents failed'

And the file being 0 Bytes in size.

Just to be sure, we should check the available disk space and return a better error message.