Files turned to Binary – content unreadable

25 pts.
Tags:
Binary
Data Recovery
Linux
Hi, I'm on Linux Debian 8, some regular folders became unreadable (application/octet-stream). Can I recover them? thank you for your kind attention. Yours truly. sehrguey

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 6  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Subhendu Sen
    What regular folders you referred for? When you access them, have you admin rights that is root user? Linux has high security based OS, general users can not access some files/folders without proper permissions. One more thing is that, if you copy files/folders using root user and try to access from a general user, that also be not allowed in Linux OS. In this case chmod can help you.
    89,360 pointsBadges:
    report
  • ToddN2000
    Were you able to view these before and can no longer see the data or is it due to copying like Subhendu mentioned? It could be a number of reasons but we need to know if it worked properly for you. If it does not work now, can you list what OS changes have been made or new software installed.
    84,925 pointsBadges:
    report
  • sehrguey
    Thank you, gentlemen
    It's nice to live in a world where there are folks ready to help.
    Now, the whole story
    in my user Documents folder there were some files created by root (also me). To make life easier I chmoded the folder to 666 and learned that this command turns a directory to a binary file.
    The remedy is simple (but I found it after asking you, I'm sorry)
    chmod 755 (which is default for dirs) has put things aright.
    I apologize and thank you once again.
    yours`
    sehrguey
    25 pointsBadges:
    report
  • Subhendu Sen
    Happy to know that your problem is now resolved. For your information the chmod is here: chmod a+rwx is a set the last 3 octals to 777, so it ensure that owner/group/users have full write/read access. Also you can use chmod -R 777 (R for recursive).
    89,360 pointsBadges:
    report
  • ToddN2000
    Thanks for letting us know you found a fix. If you need any help in the future this site is a great resource for assistance. The knowledge base is very good and covers just about any platform and coding languages.
    84,925 pointsBadges:
    report
  • sehrguey
    Thank you both, gentlemen. It was nice to meet you.
    25 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: