==================================================================
  Please DO NOT REPLY to this mail or send email to the developers
  about this bug. Please follow-up to Bugzilla using this link:
    http://bugs.contribs.org/show_bug.cgi?id=6379

  Have you checked the Frequently Asked Questions (FAQ)?
    http://wiki.contribs.org/SME_Server:Documentation:FAQ

  Please also take the time to read the following useful guide:
    http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
==================================================================

           Summary: Recycle VFS excludes syntax
    Classification: Contribs
           Product: SME Contribs
           Version: 7.5
          Platform: PC
        OS/Version: Unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: smeserver-shared-folders
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]


As it came in  SME 7.5.1, excludes do not work
Ibays have the same bug, i've posted today [1]

I've found that the parameters passed to smb.conf if I enable recycle bin
module to vfs to exclude files do not work.
As i can investigate there is an error in list separator, it is not clear in
any documentation.
After some search on samba code I've found that "|" is not a valid separator
[2](i've checked code of a newer samba version, hope it is the same)
If I change the exclude sintaxis using comma "," as separator works fine.


[1]recycle_exclude()      @ modules/vfs_recycle.c 
   lp_parm_string_list()  @ param/loadparm.c   
   str_list_make()        @ lib/util_strlist.c
   LIST_SEP definition    @ lib/util.h

#define LIST_SEP " \t,\n\r"

In
/etc/e-smith/templates/etc/smb.conf/shares/10recyclebin


    $share_vfs->{recycle}->{exclude} = "*.tmp|*.temp|*.o|*.obj|~\$*";
    $share_vfs->{recycle}->{exclude_dir} = "/tmp|/temp|/cache";

should be changed to
 "*.tmp,*.temp,*.o,*.obj,~\$*,.~lock.*;

I've added .~lock.* to cover temp OO files

-- 
Configure bugmail: http://bugs.contribs.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at http://lists.contribs.org/mailman/public/contribteam/

Reply via email to