wutske 0 Report post Posted November 2, 2006 I need some information for a school assignment. I have to find a windows alternative to umask (info: https://en.wikipedia.org/wiki/Umask ), but after hours of googl'ing, I haven't found anything yet.The onlything I have found so far is the set recursive file permissions to the root directory, tough that isn't exactly what I'm looking.It's also possible that their isn't a real alternative, that's a part of the assignment too .Thanks in advance. Share this post Link to post Share on other sites
tansqrx 0 Report post Posted November 2, 2006 I am very open to correction here as I may be wrong. When I first saw UMASK I thought you had mistakenly posted a Unix question in the Windows forum. Unix is really the only OS a UMASK has a place and windows doesn’t really have an equal at least not directly.Conceptually UMASK is where a newly created file gets its permissions. On Unix systems this can be set at the system or user levels. From experience, setting the UMASK can be tricky (as a Windows guy) as the values are reversed from setting a file permission directly. The question is where does Windows get the information to set default permissions on a newly created file? The answer is from the parent directory, the permissions are inherited. In most cases this is the direct answer but things can get tricky. Below are a few exceptions1. Certain system folders have permissions that are not inherited and have specific “security” build into them. Examples include c:\windows\system32 and the recycle bin.2. You can set the permissions to not inherit from parent. Right click on a file>properties>security>advanced button. There is a check box that allows you to do this.3. I’m not completely sure about this but I believe that there are some group policies that can be set if you are part of a domain.4. Files are not the only thing that can have permissions. Registry entries can also be restricted.I suppose the finial answer is this. There is no direct correlation between a UMASK in Unix and Windows. The closest thing is file permissions that are inherited in Windows. Share this post Link to post Share on other sites
wutske 0 Report post Posted November 10, 2006 Thanks for the answer . I handed it in tuesday and I'm hoping for a something like a 8-9 Share this post Link to post Share on other sites