voodooviking
(jonas bloch Riisgaard)
October 29, 2021, 9:32am
1
I have problems by erasing files which are protected by Sudo (a lock appears on the file icon)
I did try to access the file by entering PW and try to delete by CLI.
Can someone please refere me to an example where I can erase the two locked files by using the Terminal.
jpbn
(Jaap Bosman)
October 29, 2021, 10:04am
2
in Files right click on icon of app, choose properties > Permissions to change permissions. It will write error message if some is wrong.
1 Like
From the terminal you can use “ls -l” to see the ownership/permissions of those files. You can also use “sudo rm filename” to delete the file. If that does not work then “sudo rm -f filename” should work as well.
1 Like
vgaetera
(Vladislav Grigoryev)
October 29, 2021, 11:14pm
4
You can start GNOME Files with admin privileges:
Alt +F2 :
nautilus admin:
However you must be careful not to break the system.
3 Likes
voodooviking
(jonas bloch Riisgaard)
November 3, 2021, 5:32pm
5
Seems like they are gone now. Thank you computersavvy
voodooviking
(jonas bloch Riisgaard)
November 3, 2021, 5:33pm
6
That an nice accessmethod. I could directly enter into the files I wanted. Thank you vgaetera
1 Like