[Bug 3222] New: get -r doesn't work because directories are created without write permissions

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed Oct 21 07:54:27 AEDT 2020


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

            Bug ID: 3222
           Summary: get -r doesn't work because directories are created
                    without write permissions
           Product: Portable OpenSSH
           Version: 8.1p1
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: sftp
          Assignee: unassigned-bugs at mindrot.org
          Reporter: ncdehnel at gmail.com

nathan at gentooserver /media/store/Data/VM/OpenVMS/OPENKITS $ sftp -o
PasswordAuthentication=yes OPENKITS at vsiftp.vmssoftware.com

 This is VMS Software, Inc. OpenVMS (TM) IA64 Operating System,
V8.4-2L1
OPENKITS at vsiftp.vmssoftware.com's password: 
Connected to vsiftp.vmssoftware.com.
sftp> ls   
ALPOPENSOURCE  I64OPENSOURCE  README.TXT     
sftp> get -r ALPOPENSOURCE
Fetching /disk$guest03/OPENKITS/ALPOPENSOURCE/ to ALPOPENSOURCE
Retrieving /disk$guest03/openkits/alpopensource
Retrieving /disk$guest03/openkits/alpopensource/ARCHIVE
mkdir ALPOPENSOURCE/ARCHIVE: Permission denied
Couldn't open local file "ALPOPENSOURCE/SYSLOGD-AXPVMS-04-FEB-2018.TXT"
for writing: Permission denied
Download of file
/disk$guest03/openkits/alpopensource/SYSLOGD-AXPVMS-04-FEB-2018.TXT to
ALPOPENSOURCE/SYSLOGD-AXPVMS-04-FEB-2018.TXT failed

nathan at gentooserver /media/store/Data/VM/OpenVMS/OPENKITS $ ls -l
total 4
dr--r----- 1 nathan nathan   0 Oct 20 15:28 ALPOPENSOURCE
dr--r----- 1 nathan nathan   0 Oct 20 15:28 I64OPENSOURCE
-rw-r--r-- 1 nathan nathan 675 Oct 20 15:28 README.TXT

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


More information about the openssh-bugs mailing list