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!

Who owns the file?

Root owns the file.

Are you deleting as root?

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

You could at least show what happens when you do that deletion (by rm I assume, but you keep every information secret):

rm that-file

And yes showing

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).

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.

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?

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

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

‘man <whatever_command_you_wish_to_use>’ is always helpful.