Webdav 423 file locked on Windows 11 ARM guest
- Dominant language
- Swift
- Stars
- 35.5k
- Forks
- 1.8k
- Avg merge
- 5d 5h
- Merged PRs (30d)
- 7
Description
**BEFORE SUBMITTING YOUR ISSUE, PLEASE LOOK AT THE PINNED ISSUES AND USE THE SEARCH FUNCTION TO MAKE SURE IT IS NOT ALREADY REPORTED. ALWAYS COMMENT ON AN EXISTING ISSUE INSTEAD OF MAKING A NEW ONE.**
**Describe the issue**
When saving to a shared WebDAV folder from notepad on a Windows 11 ARM guest, a 'process has locked a portion of the file' error occurs.
Read/Write access to the shared folder works from explorer, or cmd.exe. Other applications have similar difficulty directly writing to the shared folder.
**Configuration**
* UTM Version: 4.4, 4.5
* macOS Version: Sonoma 14.2.1
* Mac Chip (Intel, M1, ...): M2
**Crash log**
If the app crashed, you need a crash log. To get your crash log, open Console.app, go to `Crash Reports`, and find the latest entry for either UTM, QEMU, QEMUHelper, or qemu-\*. Right click and choose `Reveal in Finder`. Attach the report here.
**Debug log**
For all issues related to running a VM, _including_ crashes, you should attach a debug log. (This is unavailable for macOS-on-macOS VMs. Attach an excerpt of your system log instead.)
To get the Debug log: open UTM, and open the settings for the VM you wish to launch. Near the top of the `QEMU` page is `Debug Log`. Turn it on and save the VM. After you experience the issue, open the VM settings again and select `Export Log...` and attach it here.
[debug.log](https://github.com/utmapp/UTM/files/14633697/debug.log)
**Upload VM**
If your issue is related to a specific VM, please upload the config.plist from your VM's .utm directory. To get this, right-click the VM in UTM and choose "Show in Finder". Then right-click the selected file in Finder and choose "Show Package Contents". The config.plist file is now visible. Right-click it and choose "Compress". Attach the resulting config.plist.zip file here.
You can upload the entire .utm if needed, but note this includes your VM's drive image and may contain personal data. Since Github has an attachment size limit, you may want to upload to another service such as Google Drive. Link it here.
Pcap file of the webdav failure attached.
[notepad save.pcapng.zip](https://github.com/utmapp/UTM/files/14633716/notepad.save.pcapng.zip)
[config.plist.zip](https://github.com/utmapp/UTM/files/14633718/config.plist.zip)
Contributor guide
Research direction
Start with the attached debug.log and notepad save.pcapng.zip, then review config.plist.zip for the Windows 11 ARM guest configuration. Reproduce saving from Notepad and compare it with Explorer or cmd.exe access to the shared WebDAV folder. Done means Notepad and similar applications can write to the shared folder without a file-lock error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos
- Domain
- networking, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100