Nope, as far as I know the name is hard-coded.
I could think of different options:
- a template-custom of /etc/e-smith/templates/etc/samba/smb.conf/ibay-default/01vfs_recycle.
- a template-custom fragment which sets only a custom value for the repository key of $ibay_vfs->{recycle} hash (or whatever is called in Perl).
- a custom ibay profile (see docs).
If second option is plausible, I think it would be easier and safer (regarding updates) than option 1.
It was requested long ago but, if I’m not mistaken, it was not implemented. A cron job or scripted option could be something like:
…or
SomeOne script
How To Enable Recycle Bin Like Functionality in Samba
SomeOne
7th August 2012 at 12:00 am
Script for automatic trash dir cleanup:
#!/bin/bash
# cleanup recycle dir:
# delete all files with last access time
# older than a specific number of days and
# remove all empty subdirs afterwards.
#
# make sure you set recycle:touch = yes
# in your smb.conf.
# set vars
recycle_dir='/mystorage/recycle/your_recycle_dir_name'
lastaccess_maxdays=30
# execute commands
find $recycle_dir -atime +$lastaccess_maxdays -type f -delete
find $recycle_dir -type d ! -path $recycle_dir -empty -delete
I cannot tell (don’t know).