[GH-ISSUE #882] cp -a --parents with --private-etc #596

Closed
opened 2026-05-05 06:14:49 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @githububub on GitHub (Oct 30, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/882

This is an issue with minimal cp (POSIX-compliant) versions including ones from suckless sbase and cp ported from Plan 9 as there is no --parents option. Rather than be absolutely tied down to GNU cp from coreutils, perhaps the cp string can be modified to suit even the most basic versions of cp.

Originally created by @githububub on GitHub (Oct 30, 2016). Original GitHub issue: https://github.com/netblue30/firejail/issues/882 This is an issue with minimal cp (POSIX-compliant) versions including ones from suckless sbase and cp ported from Plan 9 as there is no --parents option. Rather than be absolutely tied down to GNU cp from coreutils, perhaps the cp string can be modified to suit even the most basic versions of cp.
gitea-mirror 2026-05-05 06:14:49 -06:00
Author
Owner

@netblue30 commented on GitHub (Oct 30, 2016):

I'll fix it by providing my own version. Probably busybox has the same problem. Thank you for bringing it up.

<!-- gh-comment-id:257175073 --> @netblue30 commented on GitHub (Oct 30, 2016): I'll fix it by providing my own version. Probably busybox has the same problem. Thank you for bringing it up.
Author
Owner

@githububub commented on GitHub (Oct 31, 2016):

Excellent. Toybox cp also exhibits the same problem (i.e. no --parents option).

<!-- gh-comment-id:257192257 --> @githububub commented on GitHub (Oct 31, 2016): Excellent. Toybox cp also exhibits the same problem (i.e. no --parents option).
Author
Owner

@netblue30 commented on GitHub (Nov 20, 2016):

All done on mainline.

<!-- gh-comment-id:261787038 --> @netblue30 commented on GitHub (Nov 20, 2016): All done on mainline.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#596
No description provided.