Link to home
Start Free TrialLog in
Avatar of seramai
seramaiFlag for United States of America

asked on

Read Only attribute cannot clear

I cannot clear the read only attribute from all of the folders on my flash drive. I have a Windows XP box.

I have tried to take over the file permissions.

I have tried the command line attrib -r +s stuff.

No luck.
Avatar of dbrunton
dbrunton
Flag of New Zealand image

Let's see.  Assuming your flash drive is H: and you are Administrator.

attrib    -s    H:\*.*     /s     /d
attib     -r     H:\*.*     /s     /d
Avatar of seramai

ASKER

Did not work. See attached.
--Doc1.docx
SOLUTION
Avatar of YarnoSG
YarnoSG
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Also, since you said this was on a flash drive, does the drive in question have a read-only or "lock" switch on it?
Avatar of seramai

ASKER

Drive does not have a lock on it.

Cannot save changes to files opened from flash drive.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of seramai

ASKER

Word and Excel files.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
By the way, unlike the network user sharing, it does NOT matter if you made a user with the same "friendly name" and password on both machines, user "Fred" or "Seramai" on machine A is NOT ever considered the same as "Fred" or "Seremai" on machine B, the GUIDs are different.   (Joining a domain security model at all machines would keep it the same, but you'd face the same problem as soon as you go to a machine not part of the domain)

I'll add, once rectified you can turn simple file sharing back on again, which as a rule helps avoid such complexity and confusion, unless as we said, in control panel a user has asked for their files to be kept private from other machine A users, which certainly means they're also semi-private from users on B, C, etc.
Avatar of seramai

ASKER

Ok a little more info here.

I have done the administrative rights thing and that does not seem to help.

What this stems from is I removed the TrueCrypt volume from my flash drive, reformatted the flash drive and dumped everything back on it with the result being every folder and every file in every folder being read only.

By way of an aside, I don't understand why it is necessary for the OS to do that. I don't understand the thinking behind this.

Also, the folders on my desktop are read only, but the file contents are not.

Yet, when I copy the stuff off my flash drive and into a new folder on the desktop, both the folder and the contents of the folder are read only.

This is maddening.

I am going to reformat the flash drive again and add files back to see what happens.

Avatar of seramai

ASKER

Never mind. I just did the sharing thing and that unchecked the read only attribute of the content of the file folders.