-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Limit access to a folder #1251
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
Comments
We don't provide that functionality, but if you're a seasoned Linux veteran or taken Red Hat courses regarding Linux permissions, |
As for preventing the user to invoke |
Yes, it could work for the Terminal. But what about this dialog? Is there a way we can limit it to a particular folder?
Yes, I guess it is the most secure solution. Thanks for your quick answer. |
@PhaserEditor2D there's nothing we can solve about that, that's intended by design. |
Thanks anyway! |
came here looking for the same thing. Seems weird to give anyone root level access to a server. Has anyone figured out a solution yet? |
@joeshub Run |
I would suggest to:
Though it is a workaround. The original ask or suggestion to expose a parameter to set the root of code server is a fair ask though. |
It would be great to have a CLI option to limit the access of code-server to a particular folder, so users cannot read or write outside that folder. Something like:
The text was updated successfully, but these errors were encountered: