[Bug 3954] New: scp -t . has FORTIFY: umask: called with invalid mask 7077 Aborted on Android
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Fri Apr 24 22:27:09 AEST 2026
https://bugzilla.mindrot.org/show_bug.cgi?id=3954
Bug ID: 3954
Summary: scp -t . has FORTIFY: umask: called with invalid mask
7077 Aborted on Android
Product: Portable OpenSSH
Version: 10.3p1
Hardware: ARM64
OS: Other
Status: NEW
Severity: enhancement
Priority: P5
Component: scp
Assignee: unassigned-bugs at mindrot.org
Reporter: rkirkman at termux.dev
In OpenSSH version 10.3p1, there is a commit
https://github.com/openssh/openssh-portable/commit/487e8ac146f7d6616f65c125d5edb210519b833a
, which adds the use of mask |= 07000 before umask(mask) in the code of
the scp command.
Unfortunately, doing that results in this error if the scp -t . command
is used in an OpenSSH build compiled for and running on Android,
because Android's C standard library does not allow programs to perform
that operation.
```
FORTIFY: umask: called with invalid mask 7077
Aborted scp -t .
```
https://android.googlesource.com/platform/bionic/+/cd587701c8590fb34bb69804b5d3b3c14d3d2508%5E%21/#F1
Related external links:
https://github.com/termux/termux-packages/issues/29411
https://github.com/termux/termux-packages/pull/29474
--
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list