Results 1 to 10 of 10

Thread: Cannot delete file

  1. #1

    Default Cannot delete file

    I was attempting to create a .rpm package from a .deb package with Alien conversion utility and there was created a .spec file that I cannot now delete. On 13.1 with KDE with stock distro and file system.

    Anyone have any suggestions as to how to remove this file from my system? Thanks!

  2. #2
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    16,287

    Default Re: Cannot delete file

    Who owns the file?

  3. #3

    Default Re: Cannot delete file

    Root owns the file.

  4. #4
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    16,287

    Default Re: Cannot delete file

    Are you deleting as root?

  5. #5

    Default Re: Cannot delete file

    Using Dolphin file manager and don't know if it's as root or not.

  6. #6
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,781

    Default Re: Cannot delete file

    You could at least show what happens when you do that deletion (by rm I assume, but you keep every information secret):
    Code:
    rm that-file
    And yes showing
    Code:
    ls -l the-file
    should of course go with it.

    Allways complete with prompt, command, output, next prompt and copied/pasted between CODE tags (the # button in the tool bar of the post editor).
    Henk van Velden

  7. #7
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    16,287

    Default Re: Cannot delete file

    Probably not since you are just a user. If you look in the system menu you should find a Dolphin start that is root enabled (super user mode). If you have not been asked for root's password you are not root.

  8. #8

    Default Re: Cannot delete file

    The rm command worked for me. My problem now is the subdirectories are not being allowed to be removed and I'm curious if there is a switch/argument for the rm command that will allow me to remove the subdirectory with all of its contents?

  9. #9

    Default Re: Cannot delete file

    Looks like the recursive argument worked for me. Thanks for the hand holding.

  10. #10
    Join Date
    Jun 2008
    Location
    Kansas City Area, Missouri, USA
    Posts
    7,236

    Default Re: Cannot delete file

    On 01/03/2014 01:26 PM, chuckenheimer wrote:
    >
    > Looks like the recursive argument worked for me. Thanks for the hand
    > holding.


    'man <whatever_command_you_wish_to_use>' is always helpful.



Posting Permissions

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