[Bug 3070] New: Using recursive put always copies permissions

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Thu Sep 12 18:24:11 AEST 2019


https://bugzilla.mindrot.org/show_bug.cgi?id=3070

            Bug ID: 3070
           Summary: Using recursive put always copies permissions
           Product: Portable OpenSSH
           Version: -current
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: sftp
          Assignee: unassigned-bugs at mindrot.org
          Reporter: marijn at bitpit.net

The -p option of the sftp put command is supposed to copy timestamps
and permissions, thereby implying that they are not copied when you
leave out the -p option.

This is only partly the case when you use the recursive option. When
using -r, permissions are always copied, regardless of the -p option.

Patch is located at
https://patch-diff.githubusercontent.com/raw/openssh/openssh-portable/pull/145.patch

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list