Skip to content

Use relative path for rb receive tests to fix Debian build - #62

Open
bgermann wants to merge 1 commit into
tehmaze:masterfrom
bgermann:restriction
Open

bgermann wants to merge 1 commit into
tehmaze:masterfrom
bgermann:restriction

Conversation

@bgermann

Copy link
Copy Markdown

Debian's lrzsz runs rb/lrb in restricted mode by default, and the 01-rz-reject-absolute-paths patch makes rb abort with a Security Violation when given an absolute destination path. Pass rb a relative filename inside a temp directory (via cwd) so the receive tests pass.

Link: https://salsa.debian.org/debian/lrzsz/-/blob/debian/0.12.21rc-5/debian/patches/01-rz-reject-absolute-paths.diff

Debian's lrzsz runs rb/lrb in restricted mode by default, and the
01-rz-reject-absolute-paths patch makes rb abort with a Security
Violation when given an absolute destination path. Pass rb a relative
filename inside a temp directory (via cwd) so the receive tests pass.

Link: https://salsa.debian.org/debian/lrzsz/-/blob/debian/0.12.21rc-5/debian/patches/01-rz-reject-absolute-paths.diff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant