[Bug 196435] Prevent @sample keyword from removing user symlinks
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jan 2 16:58:16 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196435
--- Comment #5 from Mathieu Arnold <mat at FreeBSD.org> ---
(In reply to Jan Beich from comment #4)
> This bug is about user-modified target_file. How the file was modified isn't
> limited to content but includes differnt filetypes as well such as being
> replaced by a symlink. It usually happens after package install but before
> deinstall.
>
> Here're steps to reproduce:
>
> 1/ install a port with @sample in pkg-plist
> 2/ replace target_file with a symlink to sample_file
> 3/ deinstall the port
> 4/ notice target_file now a symlink disappeared as well
>
> or
>
> 1/ find a port with @sample in pkg-plist
> 2/ create matching empty config but without .sample suffix
> 3/ swap it with a symlink
> 4/ install the port
> 5/ notice symlink destination is no longer empty
Well, yes, I'm ok with that, people do stupid things, people get themselves
shot in the foot. As in, don't replace the regular file that has been
installed by a symlink, it's stupid. :-)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list