Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 2310  / 1 Year ago, sat, february 11, 2023, 10:50:00

I have a very peculiar situation. I installed a piece of software by building it from source. I used "make install" from the folder that I downloaded it into (on my desktop). Later on, after not using it for a while, I decided I don't need the folder on my desktop and shift-deleted it. Most files in that folder were deleted, but some of them cannot. It says I have no permissions to do it.



What I am assuming is that those files are used by the kernel, because the software was built from source. Is this correct, and if so, how can I delete them? Can I boot in another kernel or do something like Windows's safe mode?


More From » filesystem

 Answers
5
sudo rm -rf ~/Desktop/<path_to_folder>


The reason you cannot remove that folder is that during compiling and installation some files where created with administrator privileges (probably using sudo), you wont be able to remove those with your account.



Its not that the files are being used at the moment, you simply don't have any rights to delete them.



Use the command above to delete the files under that folder, it will grant you privileges to remove it.


[#42035] Sunday, February 12, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
diffeah

Total Points: 78
Total Questions: 130
Total Answers: 98

Location: Peru
Member since Fri, Oct 14, 2022
2 Years ago
;