[Samba] VFS recycle & force user (fwd)

Lukas Deseyve deseyve at linuxbox.cz
Thu Jul 9 07:53:05 MDT 2009


Hi,

have you some idea?


Lukas



---------- Forwarded message ----------
Date: Wed, 8 Jul 2009 08:27:53 +0200
From: deseyve at linuxbox.cz
To: Dale Schroeder <dale at BriannasSaladDressing.com>
Cc: samba at lists.samba.org
Subject: Re: [Samba] VFS recycle & force user


I tried both - recycle:repository = .recycle/%U and also recycle:repository = .recycle/%u

But with same result - samba maked directory .recycle/force_user  :(

L.


---------------------------------------

Re: [Samba] VFS recycle & force user[IMAGE]

Try
   recycle:repository = .recycle/%U

That changes service user to session user.

Dale


deseyve at linuxbox.cz wrote:
> Hi,
>
> i have problem with share with parametr "force user"
>
> Here i my settings of VFS modul recycle
>
> vfs object = recycle
>                 recycle:repository = .recycle/%u
>                 recycle:maxsize = 50000000
>                 recycle:exclude = *.tmp *.temp *.o *.obj ~$*
>                 recycle:exclude_dir = sdileni/*/profile* tmp temp cache
>                 recycle:versions = yes
>                 recycle:touch = yes
>                 recycle:keeptree = yes
>
> and this is my share
>
> [my_share]
>         path = /home/sdileni/instalace
>         comment = software, instalace
>         force group = smbgroup
>         force user = smbuser
>         public = yes
>
>
> If i delete some file from this share, then samba make
> directory .recycle/smbuser. But in older version (for example Samba 3.3.0)
> samba maked directory .recycle/real_user - and this i need! It's possible?
> I must have something new in configuration or is this new behavior of
> samba?
>
>
> thanks, Lukas
>  




More information about the samba mailing list