How to create recycle-bin for samba shared folder`s in centos 7


#1

Hi Everyone,

i have configured shared folders on samba , now i would like to configure recycle bin for them. i have tried in many helping sites but i failed to configure . I request you any one to help on this topic.

Thanks much in advance…
Raghavendra Pothula


#2

Hi

What error you facing, can you plz share your configuration want to see how you configured.


#3

Hi Raghu,

First of all i would like to thank you. Issue is fixed,

Issue : vfs object = recycle
recycle:repository = /data/recycle/%U
recycle:touch = Yes
recycle:keeptree = Yes
recycle:versions = Yes
recycle:noversions = .tmp,.temp,.o,.obj,.TMP,.TEMP
recycle:exclude = .tmp,.temp,.o,.obj,.TMP,.TEMP
recycle:excludedir = /recycle,/tmp,/temp,/TMP,/TEMP
I have added this script in smb.conf under the sharefolder script. but deleted files was not moving to given path . i found one more finally would like to conclude issue is fixed.

Thanks
Raghavendra Pothula


#4

there is only one way? or maybe other variants are possible?


#5

Other variants are also possible . Above mentioned script not worked on my server.