home directory - Empty Documents folder - Ask Ubuntu


my home/user/documents folder has become empty. permissions have been changed , trying write not permitted. assume happened after upgrade new kernel 45. noticed strangely named (temporary?) file "tmpmgrh...lots of random letters ...lqa", 17gb in size assume contains data. have not recent backup unfortunately not @ location. ideas on happened , how recover data and/or restore folder appreciated.

ls -la | head -5

total 8 dr-xr-xr-t  2 user user 4096 okt 24 21:36 . drwxr-xr-x 59 user user 4096 okt 27 15:33 .. 

you can't write documents folder because have w bit turned off, , t (sticky bit) turned on. can fix documents directory default with:

$ chmod 0755 ~/documents 

as far previous files you'll have try recall names of of files sure in documents folder , locate one. when find one, others should in same folder.

you can with:

 $ locate -ir "locate -ir "intel.*pdf" /home/users/l/j/ljames/documents/intelliapp releases.pdf /home/users/l/j/ljames/documents/intelliapp releases2.pdf /home/users/l/j/ljames/documents/intelliapp releases3.pdf /home/users/l/j/ljames/documents/intelliapp releases4.pdf /home/users/l/j/ljames/documents/intelliapp releases5.pdf /mnt2/datadrive/extroot/home/users/l/j/ljames/documents/intelliapp releases.pdf /mnt2/datadrive/extroot/home/users/l/j/ljames/documents/intelliapp releases2.pdf /mnt2/datadrive/extroot/home/users/l/j/ljames/documents/intelliapp releases3.pdf /mnt2/datadrive/extroot/home/users/l/j/ljames/documents/intelliapp releases4.pdf /mnt2/datadrive/extroot/home/users/l/j/ljames/documents/intelliapp releases5.pdf /opt/adobe/reader9/browser/intellinux/nppdf.so /opt/adobe/reader9/reader/intellinux/plug_ins/acroform/adobepdf.xdc /opt/adobe/reader9/reader/intellinux/plug_ins/acroform/pmp/libpdf417pmp.pmp /opt/adobe/reader9/reader/intellinux/plug_ins/annotations/stamps/words.pdf /opt/adobe/reader9/reader/intellinux/plug_ins/annotations/stamps/enu/dynamic.pdf /opt/adobe/reader9/reader/intellinux/plug_ins/annotations/stamps/enu/signhere.pdf /opt/adobe/reader9/reader/intellinux/plug_ins/annotations/stamps/enu/standardbusiness.pdf 

the above example regex search using locate. in above example know saved "intelli" document .pdf file. locating document show directory other documents in same area.

the $ command prompt, command following prompt. text after commandline output of command.


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User