[Bug 2404] scp skips file/directory on permissions error
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Fri May 29 03:30:52 AEST 2015
https://bugzilla.mindrot.org/show_bug.cgi?id=2404
Kevin Brott <kevin.brott at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|6.7p1 |6.8p1
--- Comment #1 from Kevin Brott <kevin.brott at gmail.com> ---
Just compiled/installed openssh portable on two different Debian
GNU/Linux 8.0 (jessie) systems - repeated test. Confirmed this bug
still exists in the current code base.
$ find sshtest/ -ls
655870 4 drwxrwxrwx 7 root root 4096 May 28 10:05 sshtest/
655871 4 drwxr-xr-x 2 root root 4096 May 28 10:03
sshtest/lost+found
655878 4 drwxr-x--- 2 brottk brottk 4096 May 28 10:05 sshtest/pqr
655879 0 -rw-r----- 1 brottk brottk 0 May 28 10:05
sshtest/pqr/21417
655874 4 drwxr-x--- 2 brottk brottk 4096 May 28 10:05 sshtest/def
655875 0 -rw-r----- 1 brottk brottk 0 May 28 10:05
sshtest/def/7476
655872 4 drwxr-x--- 2 brottk brottk 4096 May 28 10:05 sshtest/abc
655873 0 -rw-r----- 1 brottk brottk 0 May 28 10:05
sshtest/abc/27521
655876 4 drwxr-x--- 2 brottk brottk 4096 May 28 10:05 sshtest/mno
655877 0 -rw-r----- 1 brottk brottk 0 May 28 10:05
sshtest/mno/28273
$ scp -pr sshtest/ home:./
scp: .//sshtest/lost+found: set times: Operation not permitted
7476
100% 0 0.0KB/s 00:00
27521
100% 0 0.0KB/s 00:00
28273
100% 0 0.0KB/s 00:00
$ ssh home find sshtest -ls
262217 4 drwxrwxrwx 6 root root 4096 May 28 10:21 sshtest
262223 4 drwxr-x--- 2 brottk brottk 4096 May 28 10:05 sshtest/mno
262224 0 -rw-r----- 1 brottk brottk 0 May 28 10:05
sshtest/mno/28273
262218 4 drwxr-xr-x 2 root root 4096 May 28 10:09
sshtest/lost+found
262221 4 drwxr-x--- 2 brottk brottk 4096 May 28 10:05 sshtest/abc
262222 0 -rw-r----- 1 brottk brottk 0 May 28 10:05
sshtest/abc/27521
262219 4 drwxr-x--- 2 brottk brottk 4096 May 28 10:05 sshtest/def
262220 0 -rw-r----- 1 brottk brottk 0 May 28 10:05
sshtest/def/7476
--
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list