Skip to content

cp: warn when an explicit security context is ignored - #15396

Merged
cakebaker merged 1 commit into
uutils:mainfrom
limadog9:fix/cp-context-warning
Oct 16, 2026
Merged

cakebaker merged 1 commit into
uutils:mainfrom
limadog9:fix/cp-context-warning

Conversation

@limadog9

Copy link
Copy Markdown
Contributor

Warn when an explicit SELinux context is unsupported while continuing the copy. Keep bare –context silent like -Z, with regression coverage for files and directories.

Closes #12982.

@cakebaker
cakebaker merged commit 79ad53e into uutils:main Oct 16, 2026
101 checks passed
@cakebaker

Copy link
Copy Markdown
Contributor

Thanks!

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.

bug(cp): when using --context in Non Selinux kernel, it does not warn

2 participants