Package: dupload
Version: 2.8.4
Severity: normal

dupload 2.8.4 and 2.9.0 currently use the following rsync options:

   rsync --partial -zave ssh $options -x

-a implies quite a lot:

   -r: recursive; not wanted
   -l: copy-symlinks-as-symlinks; not wanted, opposite is needed
   -p: copy permissions; not wanted, overriden by chmod
   -t: times; wanted
   -g, -o, -D: keep group, owner, devices/special files; not wanted

Please replace `-a` by just `-t` or `--times`, and add `-L` or
`--copy-links` to not upload symlinks, but the file they refer to.

The `ssh ... chmod` call (if $wrong_mode is set) can also be replaced
by rsync's `--chmod=F644` or `--chmod=ugo=rwX` options.  Please also
include an option to *not* affect permissions and just use the default
permissions.

I would like this to support uploading via rsync-over-ssh for the
security archive (to ssh.security.upload.debian.org).  We do not want
uploads to be readable by anyone.  The upload directory has a default
ACL to set the right permissions, however `rsync -p` or `chmod`
override it.

Ansgar

Reply via email to