Find the answer to your Linux question:
Results 1 to 4 of 4
The hdd (500GB SATA) of my new Ubuntu 8.04 install is set up: Primary partitions: sda1 46.7 GB NTFS (Cannot for the life of me remember why I formated sda1 ...
  1. #1
    Linux Newbie
    Join Date
    Jun 2006
    Posts
    215

    Lost + found?

    The hdd (500GB SATA) of my new Ubuntu 8.04 install is set up:

    Primary partitions:
    sda1 46.7 GB NTFS (Cannot for the life of me remember why I formated sda1 as NTFS.)
    sda2 1.86 /swap
    sda3 7.45 /
    Extended:
    sda4 409.88
    sda5 37.25 /home
    sda6 372.66 /media/disk

    Under "Places" there appear two (slightly different icons, presumeably having to do with the different formatting): 50 GB Media and 400.1 GB Media. These appear to be sda1 and sda6 respectively.

    When I click on the 400 GB icon, it shows only one folder: Lost + Found with properties as: contents unreadable and 350.9GB of free disk space. One forum post says:

    Quote:
    lost+found is a directory that fsck uses to store any unconnected files or directories it finds after a dirty shutdown

    Don't recall any traumatic shutdowns, but I found all of this as a result of trying to copy files from my windows computer into this partition and got a "no permission to write to this.." denial. And when I right click into the empty space below the "Lost + Found" the Create Folder, Create Document, and Paste options are all greyed out.

    Any ideas how to figure out what, if anything, is in Lost + Found (doubt it) and what to do about restoring permissions?

  2. #2
    Trusted Penguin Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,392
    You need root permissions to look into this directory. Remember that Linux is a multi-user operating system by design, so if one user has a file go missing, it doesn't want to turn up in Lost&Found and be readable by anyone.

    There is nothing wrong with your permissions for this directory.
    Linux user #126863 - see http://linuxcounter.net/

  3. #3
    Linux User peteh's Avatar
    Join Date
    Oct 2006
    Location
    UK
    Posts
    337
    Unless you amend it only your home dir is available to you. If you have a spare dir for personal use you need to become root and change the permissions.
    Pete

  4. #4
    Linux Newbie
    Join Date
    Jun 2006
    Posts
    215
    OK, this worked:

    robert@CoreDuo:/media/disk$ sudo mkdir files
    robert@CoreDuo:/media/disk$ ls -ld
    drwxr-xr-x 4 root root 4096 2008-10-07 16:16 .
    robert@CoreDuo:/media/disk$ ls
    files lost+found
    robert@CoreDuo:/media/disk$ sudo chown robert files
    robert@CoreDuo:/media/disk$ sudo chgrp robertgroup files

    Now copying over, albeit slower than I had expected (650KB/sec +/-)

    Thanks to both.

Posting Permissions

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