Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

@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