You are not logged in.

#1 2012-06-19 14:56:11

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

[solved] Suddenly no permissions on specific USB flash drive

Hi,

since yesterday I can't delete or create new files on my primary USB flash drive.

I then tried my other USB drive and it works without a problem.

Both are from the same manufacturer and formated with the FAT16 file system. When I check the permissions of the files/folder I see myself as owner with read/write permissions on both drives.

the error message on the console is:

rm: cannot remove 'foo': Read-only file system

I'd really like to give you more information but honestly I don't know where to look since one works and the other suddenly stopped working.

\edit: Checked dmesg:

[  769.912866] FAT-fs (sdb1): error, fat_get_cluster: invalid cluster chain (i_pos 123716903)
[  769.912871] FAT-fs (sdb1): Filesystem has been set read-only

Seems to be the problem. Any ideas?


Thanks in advance!

Last edited by Barghest (2012-06-20 07:06:48)

Offline

#2 2012-06-19 15:18:30

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [solved] Suddenly no permissions on specific USB flash drive

I wasn't aware that FAT filesystems had a concept of file permissions or ownership...

First of all, reboot if you recently updated your system. Because the linux package (the kernel) was also updated. Then install and use gparted to format the drive.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#3 2012-06-19 16:05:24

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [solved] Suddenly no permissions on specific USB flash drive

Maybe check the output of mount and what options were used for your drive?

Offline

#4 2012-06-20 07:06:23

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: [solved] Suddenly no permissions on specific USB flash drive

Ok, I've solved it using fsck.vfat. Seems that some recently used files were corrupted (although I don't know why).

Offline

#5 2012-06-20 07:56:32

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [solved] Suddenly no permissions on specific USB flash drive

I think it's because you should unmount it first before pulling it out.

In Dolphin there's something like "Safely Unmount Device" and in Thunar I think it's called "Eject".

Last edited by DSpider (2012-06-20 07:57:23)


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

Board footer

Powered by FluxBB