Skip navigation.
Home
Now Shipping Version 7.0

Write protected usb drive!!


Posts: 22

I use an external usb drive for backups and this is the first time I have used it with MEPIS. I can mount and see the drive under devices as /mnt/flash. I can also navigate directories and read files but I cannot make any changes at all to files or directories (including changing permissions) nor add any files or directories. As a result, it is useless as a backup drive. FWIW, I just booted into Win2000 and had complete access to the drive. Any sugestions appreciated. Thanks.

AdrianTM's picture

Can you write to the flash dr

Can you write to the flash drive when you are root? It might be a permission issue.

In my "/etc/fstab" file I have a line like this:
/dev/sda1 /mnt/flash auto noauto,users,rw

Is your similar? try to add "umask=000" if that is not working
/dev/sda1 /mnt/flash auto noauto,users,rw,umask=000

no luck

I tried both changes, rebooted both times and still can't write to the disk.?? It does appear to be a permissions problem.?? WHen I try to change the permissions, I get an error which says "cannot change permissions on protocol devices".?? FWIW, I can r/w other usb drives.

figured it out!!

The problem was that the drive was formated NTFS. Don't know why but MEPIS balked at making changes to the drive when it was connected via USB. I formated FAT32 and all is well.

Still any solution?

Hi!
I got the same problem with usb drive permission.
Any solution apart from formating the disk in FAT32?

Reading and writing NTFS is still ...

a risky business. Reverse engineering the NTFS security has not been easy. Here is the project that has made the most headway.

Reading an NTFS drive has not been a problem. However, WRITING to an NTFS drive is very difficult, especially creating new directories or saving new files.

Check out
http://www.linux-ntfs.org/
and decide for yourself it it would be better to format your USB memory sticks as FAT32... or not...

OR
check out
http://www.jankratochvil.net/project/captive/
and see if you can use the WINE wrappers of the real ntfs.sys drivers.

--
GreyGeek

EnigmaOne's picture

Heck...just format it as

Heck...just format it as Reiser, and harass microsoft about their abysmal filesystem support.

That's the Open Source way of doing it.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.