On Tue, Aug 09, 2016 at 03:05:47PM -0400, Michael McConville wrote:
> Marc Espie wrote:
> > On Tue, Aug 09, 2016 at 02:45:46PM -0400, Michael McConville wrote:
> > > Syncthing is a daemon that lets you sync data between devices. By
> > > default, both metadata and user data are stored in /var/syncthing.
> > > However, when you update or delete the package, pkg_add tells you
> > > the following:
> > > 
> > > > --- -syncthing-0.13.9 -------------------
> > > > You should also run rm -rf /var/syncthing/{.,}*
> > > 
> > > For many or most users, this will delete their data and their device
> > > associations.
> > 
> > That's the expected behavior. We're talking pkg_delete vs pkg_delete
> > -c. pkg_delete does tell you that you also need to remove this to wipe
> > the package completely.
> 
> Isn't that a pretty serious usability problem, though? It tells the user
> "you should run this command" without context or warning. Of course, the
> user is still capable of discerning that their data will be deleted.
> However, someone who's moving too quickly or doesn't recognize the regex
> could lose a lot of data.

Messages like that constitute a long time unsolved puzzle to me. I've
gotten used to that quite a few packages give such warnings during
pkg_add -u after updating my current, but fear of getting yelled at for
being stupid has prevented me from ever asking. (Fortunately my fear of
deleting important stuff also has prevented me from actually starting to
rm -rf just like that.)

-- 
Erling Westenvik

Reply via email to