Re: [Samba] VFS Objects Recycle questions / Round Two
- Date: Sun, 31 Jul 2011 03:54:26 +0900 (JST)
- From: TAKAHASHI Motonobu <monyo@xxxxxxxxx>
- Subject: Re: [Samba] VFS Objects Recycle questions / Round Two
From: "Robert Adkins II" <radkins@xxxxxxxxxxxx>
Date: Wed, 27 Jul 2011 15:07:48 -0400
> I have a need to setup the recycle vfs object on our server.
> On my test server, I have all of the shares on a single drive and
> have put the following into each share:
> On the live server, there are several partitions with shares split
> across the several partitions. The setup is the same, in terms of
> having the above entered into the individual shares and the RecycleBin
> for each share is located on the same partition/mount point that the
> share is located.
> vfs_objects = recycle
> recycle:repository = /mnt/disk2/sharebin/%u
> Everything else matches, the folders exist, the folder permissions are
> the same, it's just a no go on relinking the files on a delete command
> from the "share1" share.
AFAIK, "recycle:repository" cannot contain "/".
At 474th line in source3/modules/vfs_recycle.c,
/* shouldn't we allow absolute path names here? --metze */
/* Yes :-). JRA. */
trim_char(repository, '\0', '/');
TAKAHASHI Motonobu <monyo@xxxxxxxxxxx>
To unsubscribe from this list go to the following URL and read the