Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
File deletion difficulty ...
Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: File deletion difficulty ...

  1. #1
    Member
    Join Date
    Apr 2004
    Location
    Colorado, USA
    Posts
    139

    File deletion difficulty ...

    ... I've a file in one of the directories created by a user that I cannot, as root or the user, delete no matter what I try. Could it be a corrupted inode? Anyone know of a way to blast it

    Tia.
    Everything I learn gives me another way to say \"OOPS!\" :oops:

  2. #2
    Did you tried
    Code:
    chmod 777 myfile
    rm -rf myfile
    ?
    My crime is that of curiosity. My crime is that of judging people by what they say and think, not what they look like. My crime is that of outsmarting you, something that you will never forgive.

  3. #3
    Member
    Join Date
    Apr 2004
    Location
    Colorado, USA
    Posts
    139

    Question File Removal ...

    ... Yes and I always get the following message:
    chmod: failed to get attributes of `browse.4gl': Permission denied

    I have not seen one of these stuborn items ever before.
    Everything I learn gives me another way to say \"OOPS!\" :oops:

  4. #4
    Advisor Outlaw's Avatar
    Join Date
    May 2001
    Location
    Clifton Park, NY
    Posts
    630
    try a lsattr on the file. It may be that there is an immutable or append only attribute on it. If so, do a chattr -i or chattr -a.

    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

  5. #5
    Member
    Join Date
    Apr 2004
    Location
    Colorado, USA
    Posts
    139

    File removal ...

    ... I didn't even know about those commands. However, no soap. Here's the results:

    lsattr
    --------------- ./i_junk
    elbert:/u/creico/accounting/org.4gm/i_junk # chattr -a browse*
    chattr: Permission denied while trying to stat browse.4gl
    elbert:/u/creico/accounting/org.4gm/i_junk # chattr -i browse*
    chattr: Permission denied while trying to stat browse.4gl
    elbert:/u/creico/accounting/org.4gm # rm -rf i_junk
    rm: cannot remove `i_junk/browse.4gl': Permission denied

    Thanks for the info.
    Everything I learn gives me another way to say \"OOPS!\" :oops:

  6. #6
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,760
    That is weird.

    Can you boot off of a rescue disc or a live cd and kill the file?

    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


  7. #7
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935
    What I've encounted the kind of stuff before is that I have some process that's actively using that file or directory. At times, I forgot that in one of my terminal sessions (either from this box or from SSH tunnel), I'm in the directory that I wanted to delete. At those instances, I needed to chase down where I'm locked in on important servers. But my home box, I just reboot it ( ) and have only one terminal and kill it there.

    Or try to chown and chmod it as root.
    Code:
    chown root.root /your/file
    or
    Code:
    chmod 777 /your/file
    HTH ...

    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
    - The truely community run Linux/Floss forum !

    No IT BS !!

  8. #8
    Member
    Join Date
    Apr 2004
    Location
    Colorado, USA
    Posts
    139

    Thanks all ...

    ... but so far no soap. I'm still leaning toward a bad inode.
    Everything I learn gives me another way to say \"OOPS!\" :oops:

  9. #9
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935
    Then fsck that partition to see if it IS a bad inode.

    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
    - The truely community run Linux/Floss forum !

    No IT BS !!

  10. #10
    Member
    Join Date
    Apr 2004
    Location
    Colorado, USA
    Posts
    139

    Smile

    Thanks. I'll pop open a terminal and take a look now.
    Everything I learn gives me another way to say \"OOPS!\" :oops:

Similar Threads

  1. How to revert my file modes of /etc file system
    By vesskrishna in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 10-26-2009, 05:24 AM
  2. Replies: 1
    Last Post: 03-20-2009, 04:40 PM
  3. Disk Quota in case of group deletion!
    By honey bee in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 09-20-2006, 12:59 PM
  4. File Manager File names in all caps?
    By vwgtiturbo in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 07-14-2006, 04:18 AM
  5. Evolution Email Deletion
    By coltrane in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 03-17-2006, 01:48 PM

Bookmarks

Posting Permissions

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