[Samba] VFS recycle & force user

Lukas Deseyve deseyve at linuxbox.cz
Wed Jul 8 06:57:38 GMT 2009


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

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

L.

On Tue, 7 Jul 2009, Dale Schroeder wrote:

> 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