[ https://issues.apache.org/jira/browse/MESOS-2210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14595013#comment-14595013 ]
Adam B commented on MESOS-2210: ------------------------------- Technically only NUL '\0' and forward-slash '/' are disallowed in Linux filenames, but other characters like wildcards, newlines, etc. could wreak havoc if we don't escape/handle them properly in our program. You'll probably also want to disallow a role named just "." since you cannot create a directory named ".". Also, leading '-'s can cause programs to interpret them as flags. Relevant read: http://www.dwheeler.com/essays/fixing-unix-linux-filenames.html > Disallow special characters in role. > ------------------------------------ > > Key: MESOS-2210 > URL: https://issues.apache.org/jira/browse/MESOS-2210 > Project: Mesos > Issue Type: Task > Reporter: Jie Yu > Labels: newbie > > As we introduce persistent volumes in MESOS-1524, we will use roles as > directory names on the slave (https://reviews.apache.org/r/28562/). As a > result, the master should disallow special characters (like space and slash) > in role. -- This message was sent by Atlassian JIRA (v6.3.4#6332)