nlitsme / ubidump

Tool for viewing and extracting files from an UBIFS image
MIT License
232 stars 60 forks source link

Directory and File Permissions #6

Closed therealjumbo closed 4 years ago

therealjumbo commented 6 years ago

Is there anyway to preserve the permissions of the directories and files when unpacking them with the --savedir option? Like with fakeroot or something similar?

nlitsme commented 6 years ago

I have added a -p option in my latest commit: https://github.com/nlitsme/ubidump/commit/70b491410ac31022265cef4aed22847b81ada3b4

therealjumbo commented 6 years ago

Ok, cool. I was wondering about user:group ownership too, although that's obviously a lot more difficult.