Can't find my downloaded file

Discussion in 'General Linux' started by rishumehra, Aug 1, 2012.

  1. rishumehra

    rishumehra New Member

    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    Hi Folks,

    I am a new bie to the linux world and started learning it by own my own.


    I am facing an issue for a file i downloaded via terminal but as root (thru su -). Now i am unable to find my file where it has got saved. I am using Fedora 16.

    Please help me with the issue, will appreciate the earliest helpful reply.



    cheers,
    Rishu Mehra
  2. ehansen

    ehansen New Member Staff Writer

    Messages:
    115
    Likes Received:
    11
    Trophy Points:
    0
    What command did you run?

    Have you tried checking /root/Downloads/ or /tmp?
  3. rishumehra

    rishumehra New Member

    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    Hi ehansen,

    I downloaded the file by "wget [http path of the file]" command, but, when i double click the 'root' folder it actually shows that "The Folder Content Could not be displayed \ You don't have the permissions necessary to view the contents of 'root' "

    Let me know how can get the permissions to view the files and folders in root directory.


    cheers
    Rishu Mehra
  4. pane-free

    pane-free Active Member

    Messages:
    334
    Likes Received:
    74
    Trophy Points:
    28
    Become root user

    PHP:
    su -
    PHP:
    echo 'username ALL=(ALL) ALL' >> /etc/sudoers
    NOTE: enter user password, not root's.

    -------------------------------------------------------------------------------------------

    If you don't want to be prompted for a password, use:

    PHP:
    echo 'username ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
    NOTE: Doing this is a security risk.

    Hope this helps

    Aside: I dislike Fedora almost as much as ubuntu :p
  5. rishumehra

    rishumehra New Member

    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    Thanks for the information, will try this right now.

    Lol, but i like Fedora more :D
  6. Kerms

    Kerms New Member

    Messages:
    59
    Likes Received:
    12
    Trophy Points:
    0
    Have you tried looking exactly under root's home directory (Usually, and always should be /root/)?
    (If not, find it out via `echo $HOME' as root.)

    Quote from su manpage:
    Meaning you default to the root's home directory.
  7. rishumehra

    rishumehra New Member

    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    Hey Folks,

    I tired, both the ways given by you all but didn't worked out for me. Still when i actually double click the 'root' folder it shows "The folder contents could not be displayed."


    Some other solution?


    cheers,
    Rishu Mehra
  8. Kerms

    Kerms New Member

    Messages:
    59
    Likes Received:
    12
    Trophy Points:
    0
    Well silly, no one except the root user look in /root.
    So get a root session going and do a
    cd $HOME
  9. Rob

    Rob Administrator Staff Member

    Messages:
    573
    Likes Received:
    183
    Trophy Points:
    43
    or - wget the file again as your regular user in your regular home dir.. ;)

Share This Page