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

Unhandled OSError : “OS error(20): Not a directory" #49

Open
xiaolizi59 opened this issue Jan 25, 2023 · 2 comments
Open

Unhandled OSError : “OS error(20): Not a directory" #49

xiaolizi59 opened this issue Jan 25, 2023 · 2 comments
Assignees
Labels

Comments

@xiaolizi59
Copy link

xiaolizi59 commented Jan 25, 2023

When I run the command jefferson /usr/local/sxb/_r.bin.extracted/12EF8.jffs2 -d /usr/local/sxb/_r.bin.extracted/12EF8 --force, I obtain the following output:

writing S_ISREG etc_rw/wifi/qrcode_multi_ssid_wifikey.png
OS error(20): Not a directory
Jffs2_raw_inode(magic=6533, nodetype=57346, totlen=370, hdr_crc=1282750039, ino=1106, version=2, mode=33188, uid=0, gid=0, isize=308, atime=562884431, mtime=562884431, ctime=562884431, offset=0, csize=302, dsize=308, compr=8, usercompr=0, flags=212, data_crc=206954311, node_crc=2935843019)
Jffs2_raw_dirent(magic=6533, nodetype=57345, totlen=69, hdr_crc=2799693526, pino=43, version=614, ino=1106, mctime=562884431, nsize=29, type=8, unused=[0, 0], node_crc=3064406978, name_crc=1949020392, name=b'qrcode_multi_ssid_wifikey.png', node_offset=15330252)

How can I solve it?

@xiaolizi59
Copy link
Author

I think it should write "writing S_ISREG /usr/local/sxb/_r.bin.extracted/12EF8/etc_rw/wifi/qrcode_multi_ssid_wifikey.png",but the program write "writing S_ISREG etc_rw/wifi/qrcode_multi_ssid_wifikey.png",so it cause the problem "OS error(20): Not a directory".

@qkaiser qkaiser changed the title Why the jefferson warning “OS error(20): Not a directory ”? Unhandled OSError : “OS error(20): Not a directory" Jan 25, 2023
@qkaiser
Copy link
Collaborator

qkaiser commented Jan 25, 2023

Hi !

First, could you provide the console output as code snippet in the future ? You can do it in Markdown using 3 backticks (`) or selecting the console output and clicking on the "<>" icon. I took care of it this time.

Second, could you share the file that you're trying to extract ? You can attach the file to a comment.

@qkaiser qkaiser self-assigned this Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants