LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-04-2009, 09:54 PM   #1
Tomarock
LQ Newbie
 
Registered: Apr 2008
Distribution: Fedora core , Centos
Posts: 10

Rep: Reputation: 1
Trying to change file attributes from read only so the file can be removed.


I need to change some files attributes on a USB stick so they can be removed.
I have tried chmod to no avail. I tried to fdisk the volume but receive the following error;
“last_lba(): I don't know how to handle files with mode 40555
You will not be able to write the partition table.
Unable to read U3 System/”
I believe the system is reading this like a burned cd/dvd.
Is there a way to change the file mode? Anyone have a link to file modes and meanings?
If it cannot be done, lessoned learned. Any help is appreciated.





"Because this is what will change the world, that's why."
 
Old 08-05-2009, 12:24 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 7.7 (?), Centos 8.1
Posts: 17,903

Rep: Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614
USB format is probably VFAT or NTFS, so you'll need the right driver eg nfts-3g
 
Old 08-05-2009, 04:25 PM   #3
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 877

Rep: Reputation: 124Reputation: 124
The filesystem seems to be mounted oddly. I/we can probably help you fix this, but I'll need some more information. Try typing 'mount' in a terminal. Post the results here.

--Dane

P.S. Please post the contents of /etc/fstab too.
 
Old 08-05-2009, 09:55 PM   #4
mushroomboy
Member
 
Registered: Jan 2006
Distribution: Debian Testing ALWAYS!!!
Posts: 363

Rep: Reputation: 43
shouldn't need to mount the parition to delete, unmount the volume and use fdisk

oh and trust me, if you do fdisk as root screw unmounting... even the / filesystem can be reformatted mounted =( lol
 
Old 08-05-2009, 10:05 PM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 680Reputation: 680Reputation: 680Reputation: 680Reputation: 680Reputation: 680
If these are files that you created, then the mount options determine the ownership and permissions of the files on the disk.
If this is a U3 drive, and you want to get rid of the ISO image on the device, you need to use the manufacturer's tool to do that.
A U3 drive may present itself as two devices. It sounds like the first (writable) one isn't partitioned at all and you are looking at the second one. If you see a partition that contains an ISO file, you can mount it and see the programs it contains. Look for a ZIP file, which may contain a "LaunchPad Removal.exe" program. You could try running this program in Wine, or on a Windows PC.

Last edited by jschiwal; 08-05-2009 at 10:22 PM.
 
Old 08-06-2009, 04:31 AM   #6
mushroomboy
Member
 
Registered: Jan 2006
Distribution: Debian Testing ALWAYS!!!
Posts: 363

Rep: Reputation: 43
AHHHH I remember this now!!! Your trying to use the new smart drives, they lock with a code that runs during the autoplay feature. You first have to disable the autoplay crap. I remember because I was trying to use one as a boot disk once... You should google how to disable U3 smart disk or whatever, there's a process to turn those usb drives into regular ones. It's not a file permission at all but how the USB drive itself was designed, it was designed to mask the actual partition that you write data to. Really it's all one drive in 2 seperate partitions, with the first partition being what's read first and the other partition encrypted I believe. Anyways...
http://forums.macosxhints.com/archiv...p/t-63205.html

there is a thread that others have created somewhere (found via google!) read through it, it has links to the software removal ect near the bottom. I'm pretty sure you need windows, because of how windows interacts with formatting. I don't know if you can use windows format tools in linux or not, but the software modifies the usb firmware and re-formats the drive.
 
Old 08-10-2009, 07:35 AM   #7
Tomarock
LQ Newbie
 
Registered: Apr 2008
Distribution: Fedora core , Centos
Posts: 10

Original Poster
Rep: Reputation: 1
Thumbs up Worked without any problems.

Worked like a charm, Thank you very much. I added the URL for the tool incase anyone runs across this again.

http://www.u3.com/uninstall/default.aspx

It has to be run on a Windows or Mac machine.
 
Old 08-11-2009, 05:42 AM   #8
mushroomboy
Member
 
Registered: Jan 2006
Distribution: Debian Testing ALWAYS!!!
Posts: 363

Rep: Reputation: 43
Yup, used one of those to hack a 360 once. The guy who had it said he really didn't want the software on there because it was useless to him. You have no idea how much it angered me when I first encountered those darn things, why can't they just make it more user friendly!? lol
 
  


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
Konqueror won't let me change file sharing attributes 2fry Linux - Newbie 2 11-14-2007 06:40 PM
How to check/change file attributes under dosemu? ganoo Linux - Software 0 06-09-2005 04:09 PM
Can't change attributes on a samba-shared file from win98 zen_guerrilla Linux - Networking 0 03-16-2004 07:20 AM
uploaded file on vsftpd has wrong file attributes rune.kg Linux - Newbie 2 03-06-2004 09:23 AM
Change from Read only to Read Write File System? justiceisblind Linux - Newbie 3 03-03-2002 07:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:59 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