Recycle on Samba home share

  • Hi,
    I wanted to enable recycle functionality on the samba home share. AIUI it's not possible to do this via the web UI.
    I can of course enable it for the Homes share by editing smb.conf. But I would prefer to do it in such a way that my changes persist when the samba config is saved via the web UI.


    I found this post that suggests enabling recycle object at global level via the custom setting on CIFS settings page. However would seem that no longer works. I think, because Homes share get assigned empty 'vfs objects'.


    What is the best way to do this so that the customisation works and persists across saves via the web UI?
    For my use case at least, Homes would be the one place where Samba recycle is needed.


    Thanks.

  • Hi, as a side note, can you let me know if automatic recycling works on your side?

    Me and someone else are facing the issue that this feature does not work, but the dev could not replicate it.

    OMV BUILD - MY NAS KILLER - OMV 5.x + omvextrasorg


    Core i3-8300 - ASRock H370M-ITX/ac - 8GB RAM - Sandisk Ultra Flair 32GB (OMV), 256GB NVME SSD (Docker), 3x4TB HDD (Data) - Fractal Design Node 304 - Be quiet! Pure Power 11 350W

  • Hi, as a side note, can you let me know if automatic recycling works on your side?

    Me and someone else are facing the issue that this feature does not work, but the dev could not replicate it.

    I have created a testshare with automatic recycling after one day. Tomorrow I can give you an answer.

  • Did you try to do it via the extra options in the settings of the share itself?

    Does your smb home share have extra options? In my case I have activated:

    Access Right Management --> User --> Settings --> User home directory enabled --> there is no option for recycle bin on home shares

    Services --> SMB/CIFS --> settings --> home directories enable --> there is no option for recycle bin on home shares

    Services --> SMB/CIFS --> shares --> home share is not listed here --> so no extra options for this share :-/


    Do you have extra options for your home shares?

  • Hi, as a side note, can you let me know if automatic recycling works on your side?

    Me and someone else are facing the issue that this feature does not work, but the dev could not replicate it.

    Hi, automatic recycling was not working during my trials with a test-smb-share.

  • Hi, automatic recycling was not working during my trials with a test-smb-share.

    Have you turned off you server or was always running? My server is not on all day, and apparently this might be one the causes.

    Thanks for testing though.

    OMV BUILD - MY NAS KILLER - OMV 5.x + omvextrasorg


    Core i3-8300 - ASRock H370M-ITX/ac - 8GB RAM - Sandisk Ultra Flair 32GB (OMV), 256GB NVME SSD (Docker), 3x4TB HDD (Data) - Fractal Design Node 304 - Be quiet! Pure Power 11 350W

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!