The media's write protection prevents changing the attributes.
Change the media from write protected to normal.
For flash media, often there is a plastic slider that is write protected when the tab is in the locked position. Shift the slider to the unlocked position.
For diskettes, the corner tab should be closed.
Check out what others say about this issue and review or add your own comments and solutions!