Mailing List Archive

[Bug 934] Traverse-only directories (e.g. chmod 110) break the cd command in sftp
https://bugzilla.mindrot.org/show_bug.cgi?id=934

Damien Miller <djm@mindrot.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |djm@mindrot.org
Status|REOPENED |RESOLVED
Resolution|--- |FIXED

--- Comment #8 from Damien Miller <djm@mindrot.org> ---
I'm not sure when this got fixed, but it works now:

[djm@djm openssh]$ cd /tmp
[djm@djm tmp]$ mkdir -p dir_1/dir_2/dir_3
[djm@djm tmp]$ chmod 0755 dir_1 dir_1/dir_2/dir_3
[djm@djm tmp]$ chmod 111 dir_1/dir_2
[djm@djm tmp]$ sftp -D /usr/lib/openssh/sftp-server
Attached to /usr/lib/openssh/sftp-server.
sftp> cd dir_1/dir_2/dir_3
sftp> put /bin/ls ls
Uploading /bin/ls to /tmp/dir_1/dir_2/dir_3/ls
/bin/ls 100% 136KB 162.6MB/s
00:00
sftp> ^D
[djm@djm tmp]$ ls -l dir_1/dir_2/dir_3
total 136
-rwxr-x--- 1 djm primarygroup 138856 Jul 31 14:58 ls

--
You are receiving this mail because:
You are the assignee for the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs