Thank you for your report.

The "-p" is defined to replicate permission bits, not user or group
ownership. You want "-pog" for permissions and user and group ownership.

Since rsync is working as defined here, I don't think this is a bug. If
you disagree, please explain and reopen.

** Changed in: rsync (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to rsync in Ubuntu.
https://bugs.launchpad.net/bugs/1369224

Title:
  rsync preserve permission does not work

Status in “rsync” package in Ubuntu:
  Invalid

Bug description:
  Hi,

  I am a regular user of rsync on various systems, giving parameters
  '-prH' or '-prHl' to shift data over to other locations while
  retaining correct permissions.

  Today (Ubuntu 14.04.1 64 bits, rsync 3.1.0) I descovered the '-p'
  parameter is not working. As root I'm copying the contents of the home
  directory to a new location, but the owner/group is set as root.root,
  not the intended user.

  This is incorrect operation, and can be problematic for people who
  automatically schedule rsync operations.

  I can work around this (using tar and untar), but that is not as
  cool/simple/efficient as using rsync.

  Greetings,

  Gerben

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: rsync 3.1.0-2ubuntu0.1
  ProcVersionSignature: Ubuntu 3.13.0-35.62-generic 3.13.11.6
  Uname: Linux 3.13.0-35-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.4
  Architecture: amd64
  Date: Sun Sep 14 09:30:16 2014
  InstallationDate: Installed on 2014-04-21 (146 days ago)
  InstallationMedia: Ubuntu-Server 14.04 LTS "Trusty Tahr" - Release amd64 
(20140416.2)
  ProcEnviron:
   LANGUAGE=en_US:en
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: rsync
  UpgradeStatus: No upgrade log present (probably fresh install)
  mtime.conffile..etc.default.rsync: 2014-04-21T09:49:59

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rsync/+bug/1369224/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to