LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-07-2018, 08:23 PM   #1
kitand
LQ Newbie
 
Registered: Sep 2018
Posts: 26

Rep: Reputation: Disabled
extracted folders can't be deleted in knoppix Downloads folder.


Working in Knoppix ram/usb on a desktop computer, I got into some sort of file quagmire. It started when I was experimenting with an ubuntu iso file which I copied into the knoppix usb downloads folder "/home/knoppix/Downloads"
(I'm intending to install ubuntu on one of the HDDs on same computer, and I since found that I should do that on a separate usb drive, which I'm doing now).

Trouble is, I extracted the ubuntu iso inside the knoppix downloads folder with some sort of "archive" app (a right-click option). Now that I don't need them, these unpacked folders (such as ".disk", "boot", "casper", "dists", "install", etc) can't be deleted. I get this error message when I try to delete them: "filesystem.squashfs.gpg: Error removing file /home/knoppix/Downloads/casper/filesystem.squashfs.gpg: Permission denied"

I tried rebooting knoppix to see if that would help, but it didn't. As a test, I tried copying and deleting a Libreoffice doc in the same folder, and that worked fine. Also I was able to easily delete the original iso and even the extracted "read-me" type text docs. So the problem appears to be just for the extracted folders from the iso.

Ideas on how to get rid of these unwanted and rather large folders?
 
Old 09-07-2018, 08:59 PM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
on command line depending on how far back to the base dir you want to go
Code:
sudo rm -r /home/knoppix/Downloads/casper/*
or
sudo pcmanfm
start a file manger using your terminal and sudo this way it has root permissions then use the FM to delete what you need.

Last edited by BW-userx; 09-07-2018 at 09:13 PM.
 
1 members found this post helpful.
Old 09-09-2018, 02:46 PM   #3
kitand
LQ Newbie
 
Registered: Sep 2018
Posts: 26

Original Poster
Rep: Reputation: Disabled
Thanks BW-userx. I used the <sudo pcmanfm> approach and was then easily able to delete the folders.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install Chromium 58 manually, or, how to find the launcher in the extracted folder rm_-rf_windows Linux - Software 5 09-10-2017 08:39 AM
creating a script that will move completed downloads into other folders? Springs Linux - Newbie 1 12-01-2012 06:46 AM
Ubuntu 10.10 Evolution Mail Downloads to Deleted Box! Help!! salpern Linux - Newbie 2 04-21-2011 07:52 PM
[SOLVED] How to list folder size, and number of files and folders in folder steven.c.banks Linux - General 3 11-24-2010 06:24 AM
All of my folder icons changed to the Downloads folder icon? Supreme1012 Linux - Software 1 08-17-2010 04:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration