bugzilla-daemon at bugzilla.mindrot.org
2019-Sep-12 08:24 UTC
[Bug 3070] New: Using recursive put always copies permissions
https://bugzilla.mindrot.org/show_bug.cgi?id=3070
Bug ID: 3070
Summary: Using recursive put always copies permissions
Product: Portable OpenSSH
Version: -current
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: sftp
Assignee: unassigned-bugs at mindrot.org
Reporter: marijn at bitpit.net
The -p option of the sftp put command is supposed to copy timestamps
and permissions, thereby implying that they are not copied when you
leave out the -p option.
This is only partly the case when you use the recursive option. When
using -r, permissions are always copied, regardless of the -p option.
Patch is located at
https://patch-diff.githubusercontent.com/raw/openssh/openssh-portable/pull/145.patch
--
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2020-Aug-07 04:30 UTC
[Bug 3070] Using recursive put always copies permissions
https://bugzilla.mindrot.org/show_bug.cgi?id=3070
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |djm at mindrot.org
--- Comment #1 from Damien Miller <djm at mindrot.org> ---
I think that's a bit of an overbroad hammer - IMO users generally want
some permissions to be preserved, e.g. X bits.
Unfortunately, the sftp protocol doesn't have notions of umask or
changing only a subset of permission bits - either the client specifies
all of them or none of them.
--
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.
Maybe Matching Threads
- mount.cifs is not working (smbclient does work), somekind of recursive content in mount-dir
- [PATCH v2 13/25] drm/msm: Compute dumb-buffer sizes with drm_mode_size_dumb()
- [PATCH 4/9] drm/msm/dpu: Annotate struct dpu_hw_intr with __counted_by
- [PATCH 4/9] drm/msm/dpu: Annotate struct dpu_hw_intr with __counted_by
- [PATCH 4/9] drm/msm/dpu: Annotate struct dpu_hw_intr with __counted_by