Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cp: {sketch_path}: Permission denied - macOS Mojave #2452

Closed
Oortone opened this issue Dec 7, 2023 · 1 comment
Closed

Cp: {sketch_path}: Permission denied - macOS Mojave #2452

Oortone opened this issue Dec 7, 2023 · 1 comment
Assignees
Labels
conclusion: duplicate Has already been submitted topic: build-process Related to the sketch build process topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@Oortone
Copy link

Oortone commented Dec 7, 2023

System: macOS 10.14.6 (Intel)

Start IDE 2.2.1
Create simple Hello World code
Save in Documents/Arduino (or any other path probably)
Sketch>Export Compiled Binary

error in IDE:

cp: {sketch_path}: Permission denied
exit status 1

Compilation error: exit status 1

Possibly related:
If I double click any *.ino file when IDE 2.2.1 is not running, IDE starts but the actual sketch is never opened and the Open option under File in the IDE 2.2.1 Menu bar is not even present, there's only a greyed out Close.

Backing to IDE 2.0.4 eliminates this error.

@per1234 per1234 self-assigned this Dec 7, 2023
@per1234 per1234 transferred this issue from arduino/Arduino Dec 7, 2023
@per1234 per1234 added topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project topic: build-process Related to the sketch build process labels Dec 7, 2023
@per1234
Copy link
Contributor

per1234 commented Dec 7, 2023

Closing as duplicate of #2340

@Oortone I guess you didn't check your forum topic before you submitted this issue. I already provided a detailed explanation of the problem and instructions for an alternative workaround there:

https://forum.arduino.cc/t/cp-sketch-path-permission-denied/1197659

If you have any questions or concerns, please feel free to reply on the forum topic. I'll be happy to provide assistance over there.

If I double click any *.ino file when IDE 2.2.1 is not running, IDE starts but the actual sketch is never opened and the Open option under File in the IDE 2.2.1

This is an unrelated bug. It is tracked at arduino/arduino-ide#2209. A fix has already been prepared: arduino/arduino-ide#2288

@per1234 per1234 closed this as not planned Won't fix, can't repro, duplicate, stale Dec 7, 2023
@per1234 per1234 added the conclusion: duplicate Has already been submitted label Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: duplicate Has already been submitted topic: build-process Related to the sketch build process topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants