Skip to contentSkip to conversation

file names with spaces, file contexts and matchpathcon problems

DISCUSSION Ted X Toth 1 participant 1 message Oct 1, 2007 SELinux security module

lore
Share & tools
lore

Ted X Toth

author
#0 lore raw

I've been trying to figure out how to write fcglob expressions for file names with spaces which will work in an fc file but haven't succeeded yet, can anyone help me? I can use wildcarding (?) but I'd prefer being specific like "[ ]" which doesn't work. If I do use a wildcard I can then use the matchpathcon command to retrieve the default context but code calling the matchpathcon api with the same path fails claiming that the file/directory doesn't exist.

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.