Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-04-2009, 12:37 PM   #1
LQ Newbie
Registered: Dec 2008
Location: gandhinagar,India
Posts: 8

Rep: Reputation: 0
Cool how to remove write protection from pen drive in linux

hi all,
i am quite new for linux and i want to know how to remove some locked files from my pendrive...
i tried it all by going in root, and tried to remove forcfully but it cant works...
i can see to locked files (most probably virus) in my pendrive but unable to get rid of those files..
when i try to remove them through gives result...

read only file ..unable to remove thing...
will you please help me...
but please be descriptive..
with thanks in advance..
Old 03-04-2009, 12:40 PM   #2
Senior Member
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,225

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
give us the output of the 'mount' command (with no arguments)
Old 03-04-2009, 12:45 PM   #3
LQ Newbie
Registered: Dec 2008
Location: gandhinagar,India
Posts: 8

Original Poster
Rep: Reputation: 0
Cool hi am sending your query...

/dev/sda7 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda9 on /home type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/sda5 on /media/HCL_DISK2 type vfat (rw,nosuid,nodev,uhelper=hal,shortname=lower,uid=501)
/dev/sda1 on /media/HCL_DISK1 type vfat (rw,nosuid,nodev,uhelper=hal,shortname=lower,uid=501)
/dev/sda6 on /media/HCL_DISK3 type vfat (rw,nosuid,nodev,uhelper=hal,shortname=lower,uid=501)

please tell me further details..
Old 03-04-2009, 12:48 PM   #4
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Post exact error messages, please.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 remove Security on USB pen drive Guignol Linux - Hardware 8 10-18-2007 02:18 PM
Can't format USB flash drive, write protection krisbitner Linux - Hardware 5 02-07-2007 03:18 PM
read & write USB pen drive?? wrangler Linux - Newbie 5 03-08-2005 03:11 PM
usb pen drive, it wont let me write to it Mandrake 10 Whiskers Mandriva 9 08-22-2004 02:15 PM
usb pen drive - only root can write? BrianK Linux - Newbie 3 01-29-2004 12:50 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:59 AM.

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