Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Jan 2015 15:34:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 196435] Prevent @sample keyword from removing user symlinks
Message-ID:  <bug-196435-13-8EDQxR1uQd@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-196435-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-196435-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196435

Jan Beich <jbeich@vfemail.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #151209|0                           |1
        is obsolete|                            |

--- Comment #2 from Jan Beich <jbeich@vfemail.net> ---
Created attachment 151216
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=151216&action=edit
v2

(In reply to Mathieu Arnold from comment #1)
> Also, for cmp drop the -h, we want symlinks to be followed, otherwise, it'll
> compare the content of the file with the path of the sample file, which, in
> most cases, won't be the same ;-)

Indeed, I've traded one issue for another:

  - symlink target_file vs. regular sample_file (no filetype check)
  - symlink target_file vs. symlink sample_file (no symlink path check)
  - regular target_file vs. regular sample_file
  - regular target_file vs. symlink sample_file

after

  - symlink target_file vs. regular sample_file (path vs. content)
  - symlink target_file vs. symlink sample_file
  - regular target_file vs. regular sample_file
  - regular target_file vs. symlink sample_file (path vs. content)

Let's try to assume target_file cannot be a symlink if unmodified by user or
bug 196432 remains closed.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196435-13-8EDQxR1uQd>