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

Windows 7 64 bits : Permission error #2617

Closed
Nickduino opened this issue Jan 31, 2019 · 14 comments
Closed

Windows 7 64 bits : Permission error #2617

Nickduino opened this issue Jan 31, 2019 · 14 comments

Comments

@Nickduino
Copy link

  • Etcher version: 1.4.9
  • Operating system and architecture: Windows 7 64 bits
  • Image flashed: 2018-11-13-raspbian-stretch-lite.zip
  • Do you see any meaningful error information in the DevTools? Yes (attached below)

The error message (I tried launching from a command line in case it displayed a feedback):

image

The devtool info:
image

5 minutes ago, I was using this very same SD in my Raspberry Pi. I'm not saying it's not broken...but it seemed to be working then.

@thundron
Copy link
Contributor

@Nickduino Did you try running it as administrator too?

@Nickduino
Copy link
Author

Nickduino commented Jan 31, 2019

I should have mentioned it but yes I did

@Nickduino
Copy link
Author

I've no idea what's happening, I'm not able to wipe the previous partitions

image

@Nickduino
Copy link
Author

I'm using the SD card that came with my Raspberry Pi. Is it possible it is somewhat write protected?

@thundron
Copy link
Contributor

It sounds strange, but it looks like it happened already before.
You might want to look into other tools to see if this happens there too, according to this issue as well

@ghost
Copy link

ghost commented Jan 31, 2019

Same issue.

  • Etcher version: balenaEtcher-Portable-1.4.9-x64.exe
  • Operating system and architecture: Windows 10 1809 64-bit
  • Image flashed: FWUL_v3.1_x86_64_forgetful.iso ,archlinux-2019.01.01-x86_64.iso, kubuntu-18.10-desktop-amd64.iso
    Reproducible: 5 out of 5.
  • Do you see any meaningful error information in the DevTools?: (kubuntu iso)

Yes

copy pasted logs, Click to expand
Umount on success: true

Validate on success: true

Fri Feb 01 2019 01:01:44 GMT+0530 (India Standard Time) Flash error ({"error":{"name":"Error","message":"EPERM: operation not permitted, write","stack":"Error: EPERM: 
operation not permitted, write","code":"EPERM","syscall":"write","errno":-4048},"applicationSessionUuid":"a231da97-d139-4907-
9027-4fa24541105f","flashingWorkflowUuid":"2b07360d-f80a-44e1-9cce-1bc2283674dd","flashInstanceUuid":"6fa420ea-fae1-4064-8e85-0703b50d3e97","image":"F:\\Backup programs\\Linux OS for VM\\ISO files\\ubuntu
 family\\kubuntu\\18.10\\kubuntu-18.10-desktop-amd64.iso","drives":["\\\\.\\PhysicalDrive2"],"driveCount":1,"uuid":"6fa420ea-fae1-4064-8e85-0703b50d3e97","unmountOnSuccess":true,"validateWriteOnSuccess":true})

Error: EPERM: operation not permitted, write

Fri Feb 01 2019 01:01:44 GMT+0530 (India Standard Time) Open modal ({"name":"warning","applicationSessionUuid":"a231da97-d139-4907-9027-4fa24541105f","flashingWorkflowUuid":"2b07360d-f80a-44e1-9cce-1bc2283674dd"})

{"stack":"Error: EPERM: operation not permitted, write","message":"EPERM: operation not permitted, write","name":"Error","code":"EPERM","syscall":"write","errno":-4048}
console.(anonymous function) @ C:\Users\trtsqwe\AppData\Local\Temp\nsz8224.tmp\app\resources\app.asar\node_modules\raven-js\dist\rave…:58

etcher:sdk:scanner start +10s true

Warning: Failed prop type: Invalid prop `disabled` of type `string` supplied to `ProgressButton`, expected `boolean`.
    in ProgressButton
console.(anonymous function) @ C:\Users\trtsqwe\AppData\Local\Temp\nsz8224.tmp\app\resources\app.asar\node_modules\raven-js\dist\rave…:58

Flash results Object                             
                              cancelled: false
                              __proto__: Object                            

Terminating IPC server

I used USB 3.0 port. Ran as admin.

How I handled it:

  1. Press Win key.
  2. Type:- disk management
  3. Click on Create and format Hard disk partitions.
  4. Disk Management opens.
  5. There is no partition on flash drive. The previous partition got removed.
  6. Right click on disk and select 'New Simple Volume'. Format it as per requirements, eg: FAT32, quick format.
  7. Click Next> Finish. Wait for a while.
    For more methods:- https://fossbytes.com

I think Etcher got interrupted by Windows Security's 'Controlled folder access' feature.

  1. Press Win key.
  2. Type:- Controlled folder access
  3. Click on Controlled folder access and configure the settings. Apps can also be allowed access to folders.
    Edit: I haven't been able to succeed in flashing by adding etcher to the whitelist.
    Note:- I guess by default folders in C:\Users\username , C:\Users\Public are protected. So ,Documents, Pictures, Favorites, Videos, etc.

the images:

Click to expand

etcher error message

etcher

pen drive size after etcher

windows security CFA notifications

I hope it helps.

@ghost
Copy link

ghost commented Jan 31, 2019

could be similar #2547

I'll be unavailable for quick responses for a while.

@Nickduino
Copy link
Author

It did work flawlessly with a brand new Kingston.

I'm convinced the other SD had some kind of write protection (not allowing to change the recovery partition)

@ghost
Copy link

ghost commented Feb 3, 2019

Taking #2617 (comment) into account, this becomes a task for improving experience on Windows 10. If I need to file a separate issue, please let me know.

If yes:

  • I think the title could be 'Windows 10 1809 64 bits : Permission error( possibly due to security settings )'. Improvements welcome.
  • Should I copy the same info over to the new issue or just a link will do?

I will try to see if I can find any more security settings/policies that stump Etcher. And try alternatives like Rufus.

@ghost
Copy link

ghost commented Feb 3, 2019

Rufus is out.

I have read https://github.com/pbatard/rufus/wiki/FAQ#error-0x00000005-access-is-denied , but is it true for Etcher?

(this should be easy to find) https://github.com/pbatard/rufus/wiki/FAQ#incompatible-software, is there a similar section for Etcher?

@ghost
Copy link

ghost commented Feb 3, 2019

My bad, I tried Rufus( portable version ) without changing my Anti-Ransomware( CFA ) settings, and it succeeded where Etcher( portable version ) failed.

So, if Etcher fails and CFA is needed, try Rufus. It may work.

@Nickduino
Copy link
Author

Nickduino commented Feb 3, 2019

I have to admit I don't follow you :-D

What are you saying? That Rufus might be able to repartition partition-locked (or it seems) SD card?

@ghost
Copy link

ghost commented Feb 4, 2019

No, I used a flash drive.

@ghost
Copy link

ghost commented Feb 4, 2019

About filing a new issue:

  • Should I copy the same info over to the new issue or just a link will do?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants