Skip to content
Discussion options

You must be logged in to vote

@rajivr - needs some additional quoting to avoid splitting the option on a comma:

bash-5.2# mount -t tmpfs none -ocontext="system_u:object_r:local_t:s0:c1,c3" /tmp/foo
mount: /tmp/foo: fsconfig() failed: tmpfs: Unknown parameter 'c3'.
       dmesg(1) may have more information after failed mount system call.

bash-5.2# mount -t tmpfs none -o'context="system_u:object_r:local_t:s0:c1,c3"' /tmp/foo
<succeeds>

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rajivr
Comment options

Answer selected by rajivr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants