bugzilla-daemon at mindrot.org
2020-Jul-31 05:03 UTC
[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 at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |djm at mindrot.org Status|REOPENED |RESOLVED Resolution|--- |FIXED --- Comment #8 from Damien Miller <djm at mindrot.org> --- I'm not sure when this got fixed, but it works now: [djm at djm openssh]$ cd /tmp [djm at djm tmp]$ mkdir -p dir_1/dir_2/dir_3 [djm at djm tmp]$ chmod 0755 dir_1 dir_1/dir_2/dir_3 [djm at djm tmp]$ chmod 111 dir_1/dir_2 [djm at 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 at 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.
Apparently Analagous Threads
- [Bug 934] Traverse-only directories (e.g. chmod 110) break the cd command in sftp
- [Bug 934] Traverse-only directories (e.g. chmod 110) break the cd command in sftp
- [Bug 934] Traverse-only directories (e.g. chmod 110) break the cd command in sftp
- [Bug 934] Traverse-only directories (e.g. chmod 110) break the cd command in sftp
- Another "function does not return a value" problem