[Bug 619] scp permissions

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed Jul 16 17:13:49 EST 2003


           Summary: scp permissions
           Product: Portable OpenSSH
           Version: 3.6.1p2
          Platform: All
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: scp
        AssignedTo: openssh-bugs at mindrot.org
        ReportedBy: johnf.ct at netzero.net

I hope this isn't FAQ but I can't find an answer for this: If a file
named /a/some_file is in Unix machine 'A' and it's owned by user
'someuser', if I run 'scp -p root at A:/a/some_file another_file', I
expected the permissions, timestamp, owner and group of the file to
be the same as the target_file. The timestamp and permissions are
correct but the owner becomes root instead of 'someuser'. I'm not sure
if this is a bug but I know some older versions of ssh keep the
owner and the group of the file.


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the openssh-bugs mailing list