Link to home
Start Free TrialLog in
Avatar of gumball60
gumball60Flag 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?
Avatar of 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
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
Avatar of gumball60


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
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.
Richmondj...The "Include inheritable permmissions..." is grayed out.  I can not uncheck it.
Avatar of richmondj

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial it
file1 is now read-only