[Bug 8965] unexpected --exclude behaviour which can lead to a data breach

samba-bugs at samba.org samba-bugs at samba.org
Sat Jun 16 11:40:14 MDT 2012


https://bugzilla.samba.org/show_bug.cgi?id=8965

Wayne Davison <wayned at samba.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #4 from Wayne Davison <wayned at samba.org> 2012-06-16 17:40:14 UTC ---
A couple ways to avoid such an issue in the future:

 * Always quote any wildcards that you aren't wanting to match files (i.e.
don't depend on your shell to pass non-matches as literal wildcards to any
program).  If you can ask your shell to return an error for non-matched
wildcards (instead of running the command), that can help get in the habit
(e.g. use zsh's "setopt NOMATCH").
 * Get in the habit of using --exclude=ARG so that unquoted wildcards are less
likely to match anything.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the rsync mailing list