LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-04-2009, 01:37 PM   #1
sanatkrtiwari86
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 root...it gives result...

read only file ..unable to remove ..like thing...
will you please help me...
but please be descriptive..
with thanks in advance..
 
Old 03-04-2009, 01:40 PM   #2
frieza
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,200

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
give us the output of the 'mount' command (with no arguments)
 
Old 03-04-2009, 01:45 PM   #3
sanatkrtiwari86
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 process...in details..
with
thanks
 
Old 03-04-2009, 01:48 PM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

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


Reply


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


All times are GMT -5. The time now is 06:14 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration