On Monday, 18 April 2016 20:13:37 UTC+1, yannickgrignet wrote:
I don't know how to do that under SWAT, i.e., how to add options specific to a given VFS module, i.e., the recycle:repository or other options.
If defaults are OK for you, you only have to add 'recycle' in the "VFS module options", after selecting a Share and using the "Advanced View". By default the recycle bin will be called '.recycled'.
Otherwise the solution is to use the command line and edit the /etc/samba/smb.conf file, adding the relevant modules options under a share entry, just like it is done in the EXAMPLE section of the posted link. And remember to make the samba server recognise the change by using the "rcsmb reload" or "rcsmb restart" commands afterwards.
See attachement but I get this results...How to add multiple lines
[4TO]
comment = 4TO HDD
path = /mnt/sdb2
valid users = Yannick1988
read only = No
vfs objects = recycle\nrecycle:repository=.recycle\nrecycle:keeptree=yes\nrecycle:versions=yes
Le lundi 18 avril 2016 20:04:09 UTC+2,
yannick...@gmail.com a écrit :
Yes it's only for the files on the nas