Avatar of gumball60
gumball60
Flag for United States of America asked on

File/Folder permissions in Win7

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

Avatar of undefined
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?
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
John

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.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
richmondj

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
gumball60

ASKER
Ooops...got it
file1 is now read-only
Thanks