Mailing List Archive

[Bug 934] Traverse-only directories (e.g. chmod 110) break the cd command in sftp

Damien Miller <> changed:

What |Removed |Added
CC| |
Resolution|--- |FIXED

--- Comment #8 from Damien Miller <> ---
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
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