Protected file


#1

Hi,

I would like to delete one specific file, but I don’t have the right to do it. It says: “Access denied to…”. Could you let me know if there is some way how to do it?

Thank you!

t


#2

Dear forumic,

Can you please explain a bit in details about your scenario ?

Thanks

bnhashmi


#3

Dear Bnhashmi,

I bought my computer with Linux Debian installed. There is one file I would like to get rid of it but I can not…

That is all :wink:

Thanks

t


#4

Hi forumlc,

please open up a terminal and execute ls command as follows:

ls -l <path and filename of the file you are unable to remove>

lubos


#5

$ ls -l myfile
-rw-r–r-- 1 root root 468279296 Apr 14 14:50 myfile


#6

this file is owned by root ( administrator ).
Login as root:

$ su
< enter password>

Locate this myfile file and remove with rm command

# rm myfile

#7

#8