By default, Synology NAS drives do not offer any way to securely delete files. It is however possible to install a couple of tools to ensure that your files are securely removed from the drive. The first and easiest option is to install
shred but it has some limitations compared to
ipkg install coreutils
shred is accessible from the command line.
shred -u -z -n 10 file.ext
To install srm on Synology NAS, it is necessary to install the necessary compilation tools first. As with
shred above, this requires ipkg to be installed.
ipkg install gcc ipkg install make
Move to tmp folder and download srm source.
cd /volume1/@tmp wget http://downloads.sourceforge.net/project/srm/1.2.12/srm-1.2.12.tar.bz2?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fsrm%2F&ts=1392053570&use_mirror=netcologne
Untar file and move to the source folder.
tar -xvjf srm-1.2.12.tar.bz2 cd srm-1.2.12/
Configure, compile and install
srm so that it is accessible to all users.
./configure make make install
Confirm that it is installed properly.
which will print
Then, in order to securely delete files, simply use
srm in place of