scratchfoundation / scratchfoundation/scratch-desktop

Can't save to any drive other than c:\ on Windows

Open
#176 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Low Impact Medium Severity priority 3
Dominant language
JavaScript
Stars
426
Forks
268
Avg merge
16h 6m
Merged PRs (30d)
25

Description

Expected Behavior

If you choose a different drive to save to, such as a second hard drive or a usb drive, it should save successfully.

Actual Behavior

If you choose anything other than a location on the c:\ drive it will fail to save and throw an error.

Can'tExportThumbDrive

Steps to Reproduce

On Windows, connect to a usb thumb drive or external hard drive
Create or open a project
Choose File > Save to your computer
In the file browser that opens up, navigate to the usb drive and try to save it.
Note: an error appears (see screenshot above) that says

Save failed:
D:[file name].sb3
EPERM: operation not permitted, mkdir 'D:'

Operating System and Browser

Windows 10. Can not reproduce on Mac.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the save flow on Windows 10 with a USB or external drive, following the listed File > Save steps and capturing the EPERM mkdir error. Trace the desktop application's save-to-computer path to find why it attempts to create a directory at the drive root. Done means projects save successfully to non-C: drives without regressing saves on C: or macOS.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.