File attributes - always marked as readonly

Foxi4

Endless Trash
Global Moderator
Joined
Sep 13, 2009
Messages
30,825
Trophies
3
Location
Gaming Grotto
XP
29,839
Country
Poland
Read-Only should not prevent you from copying the files. This might mean that you have some other problems with your HDD. Consider scanning it with chkdsk first before continuing. You could also try using xcopy via the command prompt.
 

Foxi4

Endless Trash
Global Moderator
Joined
Sep 13, 2009
Messages
30,825
Trophies
3
Location
Gaming Grotto
XP
29,839
Country
Poland
I have them copied. I copied them from the external HDD to the computer's HDD. I formatted the external HDD. I'd like to know how to get rid of the attribute before I copy it back, however.

Are you on the Administrator's account? If not, switch to it and retry. Are the files stored on the ROOT of the C:\ drive, on the Desktop or in any System folder? If so, move them to a separate folder. If all fails, use "attrib -r c:\YourFolderOrFile /s" via the command prompt which will force removing the attribute. The /s switch will apply changes to sub-folders and files in them.

If even that fails, perform a chkdsk scan with the /f switch to force it and apply fixes, then retry.
 

Foxi4

Endless Trash
Global Moderator
Joined
Sep 13, 2009
Messages
30,825
Trophies
3
Location
Gaming Grotto
XP
29,839
Country
Poland
Probably a dumb question, but where should I move them? Every location I try says file not found.

Are you sure you're not trying to copy your past selection from the external HDD? You need to select the files you've just copied (wherever they are now) and attempt copying them - the external HDD has been formatted so the files are indeed not found. :)

If that's not the case and you're 100% certain that you are copying the files you intend to copy, it may signify a more in-depth problem with the system, which is why I recommended to scan the drive. I know it's a chore, but it usually resolves issues like this one.
 

Foxi4

Endless Trash
Global Moderator
Joined
Sep 13, 2009
Messages
30,825
Trophies
3
Location
Gaming Grotto
XP
29,839
Country
Poland
Nothing on J.
As for trying single files:
it appears all the files in J have been unmarked, but the folders are still marked as readonly.

How very odd...

Alright then, to make things quicker, you can use this command (since it seems to work on files) - "attrib -r *.* /s /d" - this should technically unmark all files within the directory tree you're starting it from.

Here's the complete syntax of the tool for you to fiddle with, maybe you'll manage to unmark the folders as well with it.

ATTRIB
 

Foxi4

Endless Trash
Global Moderator
Joined
Sep 13, 2009
Messages
30,825
Trophies
3
Location
Gaming Grotto
XP
29,839
Country
Poland
Hmm... No idea how to proceed at this point, really. At this point you shouldn't have any problems changing the attribute. The only thing that springs to mind would be using a Live CD/USB of sorts - this shouldn't be as troublesome as it is.
 

PityOnU

Well-Known Member
Member
Joined
Jul 5, 2012
Messages
1,182
Trophies
1
XP
1,614
Country
United States
Nothing on J.
MIbmh5z.png

As for trying single files:
it appears all the files in J have been unmarked, but the folders are still marked as readonly.
nzvR0Nb.png

Jesus Christ weird advice going on in this thread.

Read-only is not a problem. Windows shows that by default for all directories.

It's a tri-state check box. Checked means its read-only. Unchecked means it's not read-only. A square box (neither checked nor unchecked) means the directory is not read-only but files in it might be, if they were individually assigned as such.

Woof, guys. Just... woof.
 

PityOnU

Well-Known Member
Member
Joined
Jul 5, 2012
Messages
1,182
Trophies
1
XP
1,614
Country
United States
I unmarked all the files in it though. Besides, if I unmarked the folder, wouldn't that recursively unmark all files inside the folder?

Right. If you unchecked the box and hit apply, it would remove the read-only attribute from all files and directories in the directory recursively.

The next time you open the properties box, though, the checkbox will be filled in again instead of unchecked. Windows does not check for you. I don't work for Microsoft so I can't say why the decision was made to handle it like that, but it probably has something to do with the amount of time it would take to parse all of the attributes (recursively) of all the files and directories underneath the root directory being fairly long for large filing structures, which would have caused perceptible lag when opening the properties window (similar to how long it takes to show the size of all files within in a directory). WIthout any easy way to indicate what the hell is going on to the user, they probably just figured "forget it, just make it a tri-state."
 

PityOnU

Well-Known Member
Member
Joined
Jul 5, 2012
Messages
1,182
Trophies
1
XP
1,614
Country
United States
Again, this is not a problem with read-only.

SOmething on your PC is messed up. Maybe your drive? You can verify the file system and attempt to fix any issues by using the "chkdsk" command.

Run "chkdsk /?" do see a list of switches for that command and what they do. Then run it on your drive with the appropriate switches to verify all the files are there and not corrupted, and fix any issues if possible.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    The Real Jdbye @ The Real Jdbye: @K3Nv2 you should get VR then