Skip to content

macOS: Add shared directory mount tag customization#7051

Open
tmc wants to merge 1 commit into
utmapp:mainfrom
tmc:add-custom-macos-mount-tag
Open

macOS: Add shared directory mount tag customization#7051
tmc wants to merge 1 commit into
utmapp:mainfrom
tmc:add-custom-macos-mount-tag

Conversation

@tmc

@tmc tmc commented Mar 11, 2025

Copy link
Copy Markdown

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

osy commented Apr 7, 2025

Copy link
Copy Markdown
Contributor

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

tmc commented Apr 7, 2025

Copy link
Copy Markdown
Author

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

osy commented Apr 7, 2025

Copy link
Copy Markdown
Contributor

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

tmc commented Apr 7, 2025 via email

Copy link
Copy Markdown
Author

@osy osy force-pushed the main branch 4 times, most recently from 3fdf38c to 5c29a52 Compare July 9, 2025 07:18
@osy osy force-pushed the main branch 2 times, most recently from 3c98442 to a0978bd Compare September 14, 2025 19:10
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