8000 macOS: Add shared directory mount tag customization by tmc · Pull Request #7051 · utmapp/UTM · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

macOS: Add shared directory mount tag customization #7051

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

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

Conversation

tmc
Copy link
@tmc tmc commented Mar 11, 2025

This change allows users to customize the mount tag name for shared directories in macOS guests. Some applications don't handle spaces in paths properly, so this provides more flexibility.

  • Added sharedDirectoryMountTag property to UTMAppleConfiguration
  • Updated shareDirectoryTag to use custom mount tag if set
  • Added UI in VMConfigAppleSharingView to modify the mount tag

Addresses #7026

Screenshot 2025-03-11 at 3 02 06 AM

This change allows users to customize the mount tag name for shared directories in macOS guests.
Some applications don't handle spaces in paths properly, so this provides more flexibility.

- Added sharedDirectoryMountTag property to UTMAppleConfiguration
- Updated shareDirectoryTag to use custom mount tag if set
- Added UI in VMConfigAppleSharingView to modify the mount tag
@osy
Copy link
Contributor
osy commented Apr 7, 2025

This feels like settings creep (where we eventually will have hundreds of settings and a new user has no idea what is important). Do you have a justification of why this is something that needs to be done in UTM (rather then, say, not have a space in the directory you are mounting)?

@tmc
Copy link
Author
tmc commented Apr 7, 2025

I feel you, perhaps there could be some advanced settings or cli based way to change the tag -> a non-trivial amount of software does not handle spaces well -- that's the only rationale.

@osy
Copy link
Contributor
osy commented Apr 7, 2025

If it's just the default tag being the issue, I could see a global toggle or checkbox that will select an alternative tag. Does this have to be a setting that is saved per VM?

@tmc
Copy link
Author
tmc commented Apr 7, 2025 via email

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
0