Re: File(s) marked read only?

VanguardLH <[email protected]> Sun, 22 Aug 2021 17:19:10 -0500
Newsgroups alt.computer
Organization Usenet Elder
Message-ID <[email protected]>
Robert Baer <[email protected]> wrote:

> Properties of file has ReadOnly checked; a Directory does NOT show the
> attribute. And..any program can write to it... 
> 
> Just stumbled into this. So what good are attribute (bits) if
> ignored?

Attributes for files do not have the same definitions as attributions
for folders.  What you guessed regarding attributes is wrong, but a lot
of users don't know, too.

https://support.microsoft.com/en-us/topic/you-cannot-view-or-change-the-read-only-or-the-system-attributes-of-folders-in-windows-server-2003-in-windows-xp-in-windows-vista-or-in-windows-7-55bd5ec5-d19e-6173-0df1-8f5b49247165

Any process can change file or folder attributes.  It is not an
effective protection.  You changed it.  So can anything else.  If you
want to block access to a file, look into permissions.  Right-click on a
file or folder in Windows/File Explorer, select Properties, and go to
the Security tab.  Permissions is a big topic, so I'll just refer you to
online searches to learn.  Only NTFS has permissions.  FAT does not.
You must have admin privileges in the Windows account under which you
login to change permissions.