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

tart run: do not require root to mount a block device #798

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

edigaryev
Copy link
Collaborator

@edigaryev edigaryev commented Apr 23, 2024

There's an alternative way to achieve the correct permissions using chmod $USER /dev/diskX.

Also, use open(2) to discern between various types of errors and give a specific error message.

Related to #724.

@edigaryev edigaryev requested a review from fkorotkov as a code owner April 23, 2024 11:13
@edigaryev edigaryev merged commit e59221f into main Apr 23, 2024
7 checks passed
@edigaryev edigaryev deleted the block-device-improvements branch April 23, 2024 13:03
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.

2 participants