Samba recycle bin for user home shares?

  • Hello guys,
    this is my first post here and I am not a native English speaker. So I apoligize in advance for grammar mistakes.


    I am trying to activate recycle bin for user home shares. On a regular share it can be activated. For the users I have activated "Enable user home directories". Then the share will be created automatically when the user is created and cannot be found in the regular share overview.


    But I was not able to activate the recycle bin for the user home directories. There is no option to activate. Maybe it would be possible to activate it by an "vfs objects = recycle"-entry in the general SMB/CIFS-settings. But if that would work, I don´t think that the automatic emptying after some days would work.


    Thanks in advance.

    OMV 3.0.100 (Gray style)
    ASRock Rack C2550D4I C0-stepping - 16GB ECC - 6x WD RED 3TB (ZFS 2x3 Striped RaidZ1)- Fractal Design Node 304

  • Thanks subzero79. So I do understand that this feature is currently not implemented.


    I found a temporary solution while adding these 5 lines to the extra options field in the SMB/CIFS settings tab:


    vfs objects = recycle
    recycle:repository = .recycle
    recycle:keeptree = yes
    recycle:versions = yes
    recycle:exclude_dir = .recycle


    Then every user gets a .recyle folder in it´s home dir if something is deleted. But the auto purging of the recycle bin must be solved by other means.

    OMV 3.0.100 (Gray style)
    ASRock Rack C2550D4I C0-stepping - 16GB ECC - 6x WD RED 3TB (ZFS 2x3 Striped RaidZ1)- Fractal Design Node 304

Participate now!

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