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

Ensure that Clay mountpoint names conform to %tas #650

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

resonant-riches
Copy link

Description

Check that the mountpoint name is a sane %tas (lowercase letter, followed by any of lowercase letters, numbers, hyphens).

Among other things, this will prevent a ship from mounting a file over vere's internal files in .bin, .urb etc.

Resolves #610

Among other things, this prohibits mounting desks over `.run` or other
Urbit internals.
@resonant-riches resonant-riches requested a review from a team as a code owner May 21, 2024 13:47
Copy link
Member

@joemfb joemfb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is too aggressive -- it would require that all file and directory names in %clay are (sane %tas), not just mountpoint names.

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

Successfully merging this pull request may close these issues.

Validate desk names from Clay effects
2 participants