[Samba] [home] trash folder

L.P.H. van Belle belle at bazuin.nl
Mon Mar 9 14:42:50 UTC 2020


Try

recycle:repository = %U/.recycle


Greetz, 

Louis


> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens 
> Micha Ballmann via samba
> Verzonden: maandag 9 maart 2020 14:00
> Aan: samba at lists.samba.org
> Onderwerp: [Samba] [home] trash folder
> 
> Hi,
> 
> i have a share called [home]. Designed like described here: 
> https://wiki.samba.org/index.php/User_Home_Folders#Creating_th
> e_Home_Folder_for_a_New_User. 
> 
> 
> First i have no problems but i want to enable a trash folder for each 
> user. At this time i have about 8000 home directories. The directorys 
> are subfolders from [home].
> 
> Is it possible to enable a trash folder inside the home directory for 
> each user?
> 
> I enabled successful a trash folder with vsf_recycle by a 
> specific share.
> 
> [test]
>          path = /media/cephfs/samba/c_test/00_test
>          read only = No
>          vfs objects = recycle
>          recycle:versions = yes
>          recycle:keeptree = yes
>          recycle:repository = .recycle
> 
> But how can i do this when a folder is a subfolder from a share?
> 
> for example:
> 
> home->User1-> .recycle
> home->User2-> .recycle
> home->User3-> .recycle
> 
> Thanks and best regards.
> 
> Micha
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
> 
> 




More information about the samba mailing list