Skip to content

Installation fails if external drive is plugged in #644

@acurrieclark

Description

@acurrieclark

Your Environment

  • mas version: 1.8.7
  • macOS:

System Version: macOS 15.1 (24B83)
Kernel Version: Darwin 24.1.0

mas Install Method

brew install mas (homebrew-core)

Describe the Bug

Attempting to install a package fails whilst an external hard drive is plugged in. The installer gets all the way through the installation and fails when it attempts to clear up. For some reason, it seems to be trying to move files in to the .Trashes directory on the external drive.

For example:

$ mas install
==> Downloaded WhatsApp Messenger (24.23.80)
==> Installing WhatsApp Messenger (24.23.80)
Error: Download failed: “WhatsApp” couldn’t be moved because you don’t have permission to access “Trashes”.

Unplugging the drive fixes the issue.

To Reproduce

Plug in an external drive and try to install an app.

Expected Behavior

The app should install without issue.

Actual Behavior

The installation fails, as above.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions