Package: dput
Version: 0.12.1
Severity: normal

dput 1.0.1 (and also 0.12.1) use the following rsync options (from
dput/methods/rsync.py):

  --copy-links --progress --partial -zave 'ssh -x'

-a implies quite a lot:

   -r: recursive; not wanted
   -l: copy-symlinks-as-symlinks; not wanted, overriden by --copy-links
   -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 `--times` or `-t`.

The separate `chmod` call can be replaced by `--chmod=F644` or
`--chmod=ugo=rwX`.  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