Solved

File/Folder permissions in Win7

Posted on 2014-01-02
8
330 Views
Last Modified: 2014-01-02
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
Comment
Question by:gumball60
  • 3
  • 3
  • 2
8 Comments
 
LVL 1

Expert Comment

by:richmondj
ID: 39751964
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
 
LVL 94

Expert Comment

by:John Hurst
ID: 39751985
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
 

Author Comment

by:gumball60
ID: 39752209
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
Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

 
LVL 94

Expert Comment

by:John Hurst
ID: 39752222
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
 
LVL 1

Expert Comment

by:richmondj
ID: 39752227
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
 

Author Comment

by:gumball60
ID: 39752290
Richmondj...The "Include inheritable permmissions..." is grayed out.  I can not uncheck it.
0
 
LVL 1

Accepted Solution

by:
richmondj earned 395 total points
ID: 39752385
Is there a "Change Permissions..." button?  If so, you have to hit that first.
0
 

Author Comment

by:gumball60
ID: 39752544
Ooops...got it
file1 is now read-only
Thanks
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question