Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    File recovered, now not opening

    Hi guys,

    I made the mistake of forgetting to unmount a flash drive before I removed it, and then lost the file I needed, a paper I was working on. (I moved it, I didn't copy...stupid)

    Well, I got a file recovery program to go to work on it, and I have the file now, accessible through root, and I've located it in Dolphin as root, however I can't open the file, I think because I'm not logged in as root, just using sudo (Kubuntu, btw). I'm not extremely comfortable navigating the file system through the command line, but I think that's what I need to do to open it with openoffice to recover the content. Can anyone tell me what command I use to open the file with a certain program through the command line?


  2. #2
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    I suggest instead of trying to run openoffice as root you use either chown (to change the file ownership to your regular user) or chmod to change the file access properties to allow your regular user access
    man chown chmod
    will give information, and if you open a terminal and cd to the folder with the file in and type
    sudo ls -l
    you should get information on the file, who owns it, who can read it etc.

  3. #3
    Thanks a lot. I've been traveling all week, but when I get back I'll try that and see how it works out.

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts