Results 1 to 5 of 5
Hej everybody
I got a strange problem with my usb-stick. First it looked like an obvious problem (vfat), like ubuntu set it standard to read-only. So I changed the fstab ...
- 09-26-2010 #1Just Joined!
- Join Date
- Sep 2010
- Posts
- 3
vfat-problems
Hej everybody
I got a strange problem with my usb-stick. First it looked like an obvious problem (vfat), like ubuntu set it standard to read-only. So I changed the fstab to this.
/dev/sdb1 /media/usb auto user,noauto,umask=002,uid=1000,gid=1000 0 0
When I then mounted my usb-stick all permissions were fine, 'ls -l' gave this
drwxrwxr-x 4 jef jef 4096 1970-01-01 01:00 usb
But I still wasn't able to do anything(changing, deleting and adding files), when i tried to make a directory (as example). I got this error message:
Error creating directory: Read-only file system
Anybody an idea how to tackle this problem? Thanx
- 09-26-2010 #2
Linux mounts corrupted or damaged filesystems read only. Mount command will show current mount options. You may need to run fsck on it.
- 09-26-2010 #3Just Joined!
- Join Date
- Sep 2010
- Posts
- 3
Thanx mate
It suddenly became crystal clear. Where, what and when it went wrong. I found the damaged files and run fsck on it but fsck just said after i said coorect it, filesystem unchanged. So is there a another way to delete those bad files?
Thanx again
- 09-26-2010 #4
Does it help anything if you change this
To thisCode:/dev/sdb1 /media/usb auto user,noauto,umask=002,uid=1000,gid=1000 0 0
You might try Parted Magic, it has many system and disc tools available.Code:/dev/sdb1 /media/usb auto user,noauto,umask=0 0 0
NewsI do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
- 09-26-2010 #5Just Joined!
- Join Date
- Sep 2010
- Posts
- 3
It was like Segfault said. Some corrupted files. Now I was able to delete them and problems solved. And I needed the uid and gid for so I'm the owner that's more easy to work with and umask=0 and umask=002 doesn't make a lot of difference only other groups have writing rights. I'll check out the Parted magic and see wath it can do for further problems


Reply With Quote