• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 341
  • Last Modified:

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?
0
gumball60
Asked:
gumball60
  • 3
  • 3
  • 2
1 Solution
 
richmondjCommented:
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
0
 
JohnBusiness Consultant (Owner)Commented:
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
0
 
gumball60Author Commented:
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?
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
JohnBusiness Consultant (Owner)Commented:
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
0
 
richmondjCommented:
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.
0
 
gumball60Author Commented:
Richmondj...The "Include inheritable permmissions..." is grayed out.  I can not uncheck it.
0
 
richmondjCommented:
Is there a "Change Permissions..." button?  If so, you have to hit that first.
0
 
gumball60Author Commented:
Ooops...got it
file1 is now read-only
Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now