Degradation: support extraction on filesystems without symlink support
Hello.
Thank you for a great tool. It happened to me, to recover some files from a huge binary snapshots of different devices. Most of these files are ending up in some remote-ish storage (aws S3 and other rclone-supported FUSE mounts). Copying these dump to home machine is not very viable and till recent I was happily using Debian-provided binwalk v2.4.3. This was working fine but a bit slow.
Recently I decided to move to the newer and better v3. It was working fine on my home Debian machine till I tried extract files on: external exfat drive, fuse-mounted S3 bucket, fuse-mounted Backblaze B2 bucket.
New version (I tried both v3.1.0 and https://github.com/ReFirmLabs/binwalk/commit/a417b4dcf7420f9153779edf416394d0bb01cdea (current HEAD of master)) gives me the following error:
$ binwalk -Me n4908713025_old_data.img
[2026-03-22T22:23:39Z ERROR binwalk::binwalk] Failed to create symlink /media/user/Elements/extractions/n4908713025_old_data.img -> /media/user/Elements/n4908713025_old_data.img: Operation not permitted (os error 1)
[2026-03-22T22:23:39Z ERROR binwalk] Binwalk initialization failed: Failed to initialize extraction directory: Operation not permitted (os error 1)Can you, please, add support of files extraction without creating the symlink?
Source: ReFirmLabs/binwalk