Find the answer to your Linux question:
Results 1 to 6 of 6
Not often i have to ask question but this time i do. Any help would be mint! I ran a fsck.ext3 on a drive and it found a dodge folder, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2004
    Location
    Auckland, New Zealand
    Posts
    61

    unable to delete file, fsck.ext3 found and changed


    Not often i have to ask question but this time i do. Any help would be mint!

    I ran a fsck.ext3 on a drive and it found a dodge folder, which it turned into a file that has Owner 328 Group 33341 the permissions are ----r-x---

    The file is unable to be deleted. not even users in group 33341 could delete it since they have no write permission.

    Can anyone help, theres a virtual hug in it for ya...

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    change its permissions and delete it
    Code:
    chmod 700 <folder>
    rm -r <folder>





    Casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Oct 2004
    Location
    Auckland, New Zealand
    Posts
    61

    Unhappy

    Didn't think of the directory permissions, nice try devils_casper

    BUT it didn't work.

    i get :
    rm: desend into directory '/mnt/usb200/folder-to-delete*?
    i typed y
    rm: remove write-protected regular file '/mnt/usb200/folder/file-to-delete*?
    i typed y
    rm: cannot remove '/mnt/usb200/folder-to-delete*: Operation not permitted
    root@localhost / ]#

    the file is 32meg so i wana get rid of it.
    ls -l gives me
    ----r-x--- 1 328 33341 33619980 jan 25 1971 Lighthouse Pictures

    date is mental too.

    Any thing else i can try...!!!

  4. $spacer_open
    $spacer_close
  5. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    did you execute chmod to change permissions? try -f ( force ) option with 'rm'.
    whats is the FileSystem of USB stick?





    Casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #5
    Just Joined!
    Join Date
    Oct 2004
    Location
    Auckland, New Zealand
    Posts
    61
    its a usb ide drive with a 200 gig pata drive
    fs is ext3. Off to the ""big Day Out now"", Tool is playing will try when i get home.

    thanx for your help Casper

  7. #6
    Linux Engineer
    Join Date
    Oct 2004
    Location
    Vancouver
    Posts
    1,366
    also, make the chmod command recursive
    Operating System: GNU Emacs

Posting Permissions

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