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

Expand the directories that are possible for whitelisting #627

Closed
pepa65 opened this issue Jul 10, 2016 · 5 comments
Closed

Expand the directories that are possible for whitelisting #627

pepa65 opened this issue Jul 10, 2016 · 5 comments
Labels
enhancement New feature request

Comments

@pepa65
Copy link

pepa65 commented Jul 10, 2016

Currently only $HOME, /dev, /media, /opt, /var, and /tmp can be used for whitelisting. It would be very helpful there could be an option to include other directories.

Or if that is too cumbersome, perhaps could you allow for /data/ to be whitelisted?? I noticed one other person wanting to use that particular directory.

@netblue30
Copy link
Owner

Some other directories are covered by --private options:

--private-bin: handles /bin, /sbin, /usr/bin, /usr/sbin, /usr/local/bin, /usr/local/sbin

--private-etc: /etc

What other directory do you have in mind?

@netblue30 netblue30 added the information_old (Deprecated; use "doc-todo" or "needinfo" instead) Information was/is required label Jul 10, 2016
@pepa65
Copy link
Author

pepa65 commented Jul 10, 2016

/data
Sorry if it's not POSIX compliant... Otherwise I have to manually remove/modify a lot of whitelists in de default configs. But if you had a generic way of allowing people to choose, you wouldn't need to respond to every new request from erratic users. :-)

@netblue30 netblue30 added enhancement New feature request and removed information_old (Deprecated; use "doc-todo" or "needinfo" instead) Information was/is required labels Jul 10, 2016
@netblue30
Copy link
Owner

No problem, it can definitely be done in a generic way. I also have a similar request for /lib and /usr/lib and such.

So, I will bring in a generic whitelist for any directory under /, and private-lib support.

@msva
Copy link
Contributor

msva commented Mar 5, 2017

@netblue30,

I will bring in a generic whitelist for any directory under /

I'd VERY like to finally see that ASAP (and same for mkdir too)! 😀

Is it something that blocks you from doing that? Or, will you, at least, accept a PR with such modifications?

@chiraag-nataraj
Copy link
Collaborator

Let's move this to #2041, since private-lib has been added, but generic whitelist has not (yet) made it in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature request
Projects
None yet
Development

No branches or pull requests

4 participants