[Adduser-devel] Bug#551929: Bug#551929: deluser: creates backup of user's files when not requested

Stephen Gran sgran at debian.org
Fri Dec 18 21:05:39 UTC 2009


This one time, at band camp, Frans Pop said:
> I ran into this too. Raising severity as IMO this bug makes the current 
> version of adduser unsuitable to be released with Squeeze.
> 
> deluser should not be creating a backup tarball when not asked to do so.

Hi there,

> BACKUP_TO = "."

This is the problem.  In response to #535857, a fix was committed to
make --backup-to imply --backup.  I'm not (yet) sure how to reconcile
"deluser should not be creating a backup tarball when not asked to do so"
with option a in #535857, "--backup-to should .. imply --backup".

Both of these requests are completely reasonable, but conflict, so I
think probably what I'll do is go for option b, and have deluser fail
if --backup-to is set but --backup isn't.  Given that we ship a default
of '.', that should at least be the pronciple of least surprise.

Thoughts?  Objections?  If not, I'll commit something tomorrow.

Cheers,
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        sgran at debian.org |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20091218/25fdd927/attachment.pgp>


More information about the Adduser-devel mailing list