Prevent accidential deletion of Read-only files on USB drive

Microsoft Microsoft windows xp pro full...
April 5, 2012 at 10:18:00
Specs: Windows 7, i7 980x
Hello, I'm trying to set a folder or files on my fat32 flash drive to be read only to avoid accidental deletion by the user on other computers. I can set the files and folder to read only, however, I am still able to delete and modify the files even though it is supposedly read only. Why would this be? This is happening to files set to read only on the flash drive as well as my system hard drive.

Thanks!


See More: Prevent accidential deletion of Read-only files on USB drive

Report •

#1
April 5, 2012 at 11:00:59
As you have discovered, the read-only attribute prevents you from changing a file, but not from deleting it. To do that you need to set the appropriate permissions. Have a look at http://www.tomshardware.co.uk/forum... .

Report •

#2
April 5, 2012 at 12:58:38
fat32 can't support those permissions. You can use ntfs but really it is still useless. Anyone could delete it if they wanted.

A Pit Bull is like a gun you can pet. And there is no safety on it.


Report •

#3
April 5, 2012 at 13:56:27
Just to add, flash drives are not meant to be used for long term storage. Hopefully you're not putting all your eggs in one flash drive basket.

Report •

Related Solutions

#4
April 6, 2012 at 08:23:04
Thanks for the answers. No I am not relying on the drives for long term storage. I don't care if people want to purposely delete the files, however, I want to prevent accidental deletion.

I might be able to use exfat as apposed to fat32 which would allow me to set permissions but from my understanding, the permissions only pertain to the specific computer you are on when setting the permissions, correct? Can you set permissions so that users on a different computer can't simply click delete on a file?


Report •

Ask Question