[Bug 3222] 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 13:15:16 AEDT 2020


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

Darren Tucker <dtucker at dtucker.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dtucker at dtucker.net

--- Comment #1 from Darren Tucker <dtucker at dtucker.net> ---
This is because the source directories are not writable either, and
sftp is maintaining those permissions:
sftp> ls -l
dr--r-----   1 ECOKITS  VSI$GUEST     4096 Oct 26  2016 ALPOPENSOURCE
dr--r-----   1 ECOKITS  VSI$GUEST     9216 Apr 19  2016 I64OPENSOURCE
-r--r--r--   1 OPENKITS VSI$GUEST      706 Jan 29  2019 README.TXT

sftp would need to open the directory with user write, then set the
final permission when it's done with the directory.

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list