LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 02-26-2018, 04:12 AM   #1
Shahbaz_Mansuri
LQ Newbie
 
Registered: Feb 2018
Posts: 5

Rep: Reputation: Disabled
Lightbulb i am not able to delete a Directory from my Pen Drive. when i trying to delete, it showing Error.


i Couldn't delete a directory in my Pen Drive. when i trying to delete that directory, it showing Error "Directory not empty" and i also tried to change Permission 700 into 777 however i failed. so i want to what logic behind this. Directory might be Corrupted or a Virus or may be something else. someone Please give solutions or suggestions.

See this Link :-

https://www.facebook.com/photo.php?f...9&type=3&ifg=1
 
Old 02-26-2018, 04:56 AM   #2
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,491

Rep: Reputation: Disabled
You need to remove everything within it too.

Code:
rm -r
or maybe even
Code:
rm -rf
 
Old 02-28-2018, 01:21 AM   #3
Shahbaz_Mansuri
LQ Newbie
 
Registered: Feb 2018
Posts: 5

Original Poster
Rep: Reputation: Disabled
Actually its not giving permission for delete that Folder/Directory, and its looking like a encrypted Virus as experienced by me.
So i think a Hidden Virus in it, so again a Question appear and this will be; How to Find_Out Hidden Virus in/from Folder/Directory?

Last edited by Shahbaz_Mansuri; 02-28-2018 at 01:24 AM.
 
Old 02-28-2018, 01:16 PM   #4
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,491

Rep: Reputation: Disabled
Then try using sudo, or the root account.
 
Old 02-28-2018, 01:26 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,635

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by Shahbaz_Mansuri View Post
Actually its not giving permission for delete that Folder/Directory, and its looking like a encrypted Virus as experienced by me.
So i think a Hidden Virus in it, so again a Question appear and this will be; How to Find_Out Hidden Virus in/from Folder/Directory?
Sorry, no...what makes you think that this is an 'encrypted hidden virus'. And you do realize that a flash drive is typically formatted for Windows, right?? And that Windows viruses won't work on Linux???

And none of us here are going to chase down a Facebook post...if you have errors/messages, you need to post them here. Not pictures or links to some other page. You also don't provide any details (version/distro of Linux? What you're doing to delete this (CLI on terminal? GUI through file manager?), or what error(s)/message(s) you're seeing), that would let us help you.
 
Old 02-28-2018, 01:49 PM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Shahbaz_Mansuri, please show us the command you use and the output it gives you.
copy-paste the text here, not a screenshot.
 
Old 02-28-2018, 05:01 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,981

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
Guess the file(s) could be in use too.
 
  


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
Can't delete directory - question marks showing in ls -l Anup D. Linux - Enterprise 6 11-01-2012 09:49 AM
~ showing up in front of 2 files but I cannot delete them blckspder Linux - Server 3 07-18-2008 10:47 AM
Cannot delete expired principal from kerberos system, how delete principals in kerber sarajevo Linux - Security 0 10-19-2007 11:23 AM
USP pen drive not showing up? robcult731 Slackware 4 03-17-2007 12:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 03:12 PM.

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