PDA

View Full Version : Cannot delete files from USB flash drive


Inuxlay
2005-01-23, 08:58 AM CST
I can read and write to my USB flash drive, but I cannot delete files from it. When I try, I get the following error message:

Error "Not on the same file system" while deleting "/media/usbdisk/old file".

How/ should I formatt this flash drive?

Thanks!

terr9898
2005-01-23, 09:27 AM CST
How are you mounting the drive? With read/write permissions? What is the format of the driver: vfat, ntfs, etc?

Inuxlay
2005-01-23, 09:48 AM CST
permissions are 777, and i don't know what format...i didn't think that flash drives are formatted at all. Drive is mounted on the desktop and in /dev

terr9898
2005-01-23, 12:50 PM CST
Flash drives can be formatted just like hard drives. Out of the box, they tend to be vfat. Check /etc/fstab and look for the entry for the flash drive -- in the options part, is it set to read/write?

imdeemvp
2005-01-23, 12:56 PM CST
Most flash drives are vfat and another questions I have is did you enable selinux because enabaling selinux is limiting some regular procedures you would normally do.

the_profiler
2005-01-23, 01:19 PM CST
me, i tried disabling selinux.. but it keeps on saying that i don't have permission to mount the drive.. resulting to "Contact your administrator" :confused: