I am trying to comprehend file/folder permissions in Windows 7. I created a file and a folder(file1 and folder1) and provided both read permissions in explorer. I placed file1 and folder1 in an Explorer folder with an authenticated, system, administrator, and users with more permissions.
Problem: I was still able to write to file1. How do I make file1 truly read only?
Microsoft Legacy OSWindows OS
Last Comment
gumball60
8/22/2022 - Mon
richmondj
If you're just making a file read only, right click on it, and in the attributes check "Read-only" and hit Apply.
If you're a command line type of person:
attrib +r filename.ext
John
At the individual file / folder level, security is the same as it has been back to NT4 Workstation in terms of how to apply it.
Security has changed in detail and Windows 7 secures main folders like Program Files and such like.
But if you understood file security from earlier systems, it is very similar in Windows 7.
... Thinkpads_User
gumball60
ASKER
I am still trying understand why after applying read-only permissions to file1 and placing it an Explorer folder with higher permissions....why my read-only did remain for file1? Is it an inheritance issue from the folder?
If permissions have been applied to an individual file before placing in a folder, placing in that folder does not change the files permissions. You can set file permissions to what you want as was noted in an earlier post.
.... Thinkpads_User
richmondj
If by default, if you copy a file to a folder (or move a file from another volume) the file will inherit permissions from its parent.
To remove the default permissions, you have to go into Security > Advanced and break inheritance (uncheck "Include inheritable permmissions...") to keep the parent permissions from automatically applying.
gumball60
ASKER
Richmondj...The "Include inheritable permmissions..." is grayed out. I can not uncheck it.
If you're a command line type of person:
attrib +r filename.ext