Welcome to the most active Linux Forum on the web.
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 02-02-2008, 08:54 PM   #1
Zoe 123
LQ Newbie
Registered: Feb 2008
Posts: 2

Rep: Reputation: 0
Question Free pen drive with read only autorun files

i got a free pen drive from some drug company and it has a powerpoint in it which automatically opens every time i plug it in. it doesn't show up in the pen drive folder but can be found when i "explore" it. i tried to change the properties to uncheck the read only box, but a message "an error occured when applying attributes to the file - access denied" comes up. how do i delete these files?
Old 02-02-2008, 09:21 PM   #2
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 680Reputation: 680Reputation: 680Reputation: 680Reputation: 680Reputation: 680
Where is it mounted? "mount" or "cat /etc/mtab"
Look at the long listing of the directory where it is mounted on (E.G.: ls -ld /media/usbdrive/ ). It is probably mounted as root, or the pendrive has a read-only tab.
Old 02-02-2008, 11:31 PM   #3
Senior Member
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Some of those pens are not writable because they are burned chips (not rewritable).
Old 02-04-2008, 05:19 AM   #4
Zoe 123
LQ Newbie
Registered: Feb 2008
Posts: 2

Original Poster
Rep: Reputation: 0

thanks for your help, it sounds like there is nothing i can do, but apple computers block the powerpoint anyway, so half the time it's not a problem. i'll just have to deal with it
Old 02-04-2008, 05:53 AM   #5
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Use dd to write some zeros to the device, then mkfs a filesystem on it. If that doesn't work, you're probably out of luck.


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
USB flash drive (Pen drive) mounts read only prabhatsoni Linux - Hardware 24 07-02-2007 02:28 PM
unable to copy files to pen drive(size problem)..pls help anant Linux - Newbie 8 12-28-2006 11:51 AM
read & write USB pen drive?? wrangler Linux - Newbie 5 03-08-2005 04:11 PM
Can't get mandrake move to read my pen drive. caa1980 Mandriva 2 08-16-2004 12:41 AM
trying to get files off of drive a: cant seem to read dir of a windows formated flopp laurenaj Linux - Newbie 0 05-12-2004 05:44 PM > Forums > Linux Forums > Linux - Newbie

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