Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New: jcp for copying jail to jail #805

Merged
merged 23 commits into from
Jan 27, 2025
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
228bb3b
cp: update to use new functions in common.sh
tschettervictor Jan 11, 2025
6040308
rcp: update to use new functions
tschettervictor Jan 11, 2025
14d7f4a
docs: cp documentation update for new functions
tschettervictor Jan 11, 2025
c67ab18
docs: add rcp documentation
tschettervictor Jan 11, 2025
816f243
cp: trim double // to /
tschettervictor Jan 12, 2025
f65b8c3
rcp: trim // to / and allow only single target
tschettervictor Jan 12, 2025
8e73e6f
cp: include rcp in cp and add jail mode
tschettervictor Jan 12, 2025
628f0fa
bastille: move cp to no action commands
tschettervictor Jan 14, 2025
1cfbe6b
bastille: remove rcp
tschettervictor Jan 14, 2025
6a1226b
Merge branch 'master' into cp-rcp-new-functions
tschettervictor Jan 18, 2025
22831e4
cp: Exit it -j and -r are both set
tschettervictor Jan 21, 2025
5746af3
common: Add debug mode
tschettervictor Jan 21, 2025
4c2539d
copy: Add jcp for jail to jail copy
tschettervictor Jan 21, 2025
086f4a6
jcp: Add missing fi
tschettervictor Jan 21, 2025
708c9c3
bastille: Add jcp/rcp to commands
tschettervictor Jan 21, 2025
42d1c13
cp: Allow only 3 arcs
tschettervictor Jan 21, 2025
25cc612
rcp: Allow only 3 args
tschettervictor Jan 21, 2025
9c0b600
docs: Document new jcp command
tschettervictor Jan 21, 2025
183a3c2
Merge branch 'master' into cp-rcp-new-functions
tschettervictor Jan 26, 2025
fe1eb18
docs: Typo in jcp
tschettervictor Jan 26, 2025
03649f6
Merge branch 'master' into cp-rcp-new-functions
yaazkal Jan 27, 2025
0ff98de
Merge branch 'BastilleBSD:master' into cp-rcp-new-functions
tschettervictor Jan 27, 2025
43e1868
README: Fix reference to rcp
tschettervictor Jan 27, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
cp: Allow only 3 arcs
tschettervictor authored Jan 21, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 42d1c1305849d51c1ea67f65cbf5561874a4c7dd
2 changes: 1 addition & 1 deletion usr/local/share/bastille/cp.sh
Original file line number Diff line number Diff line change
@@ -76,7 +76,7 @@ while [ "$#" -gt 0 ]; do
esac
done

if [ "$#" -lt 2 ] || [ "$#" -gt 3 ]; then
if [ "$#" -ne 3 ]; then
usage
fi