xcreds
xcreds copied to clipboard
Network Share containing space do not mount
I'm still unable to mount this share path containing a space, using the latest XCreds 5 Build 7176 this time (following from #175).
The weird thing is I can mount it via the Finder, with the %20 in the path (via CMD+K).
Path is the same: smb://contoso.local/Folders$/john.doe/My Documents
I am using iMazing Profile Creator to create the Profile, using the latest Profile Manifest from the dev branch.
<key>Shares</key>
<array>
<dict>
<key>AutoMount</key>
<false/>
<key>ConnectedOnly</key>
<false/>
<key>Groups</key>
<array>
<string>AllStaff</string>
</array>
<key>Name</key>
<string>My Documents (Staff)</string>
<key>URL</key>
<string>smb://contoso.local/Folders$/<<shortname>>/My Documents</string>
</dict>
</array>
</dict>
</array>
Logs
2024-09-03T10:15:13+08:00 XCreds(4257): ShareMounterMenu.swift:127 openShareFromMenu(_:) Mounting share: smb://contoso.local/Folders$/john.doe/My%20Documents
024-09-03T10:15:13+08:00 XCreds(4257): ShareMounter.swift:226 getMountedShares() Currently mounted shares:
[file:///, file:///System/Volumes/VM/, file:///System/Volumes/Preboot/, file:///System/Volumes/Update/, file:///System/Volumes/xarts/, file:///System/Volumes/iSCPreboot/, file:///System/Volumes/Hardware/, file:///Volumes/Guest/, file:///private/tmp/tmp-mount-0ffcM7/, file:///System/Volumes/Data/home/]
2024-09-03T10:15:13+08:00 XCreds(4257): ShareMounter.swift:264 getMountedShares() Volume: /, is not a network volume.
2024-09-03T10:15:13+08:00 XCreds(4257): ShareMounter.swift:264 getMountedShares() Volume: /Volumes/Guest, is not a network volume.
2024-09-03T10:15:13+08:00 XCreds(4257): ShareMounter.swift:267 getMountedShares() Mounted shares: []