Article ID: 321049 - Last Review: October 31, 2006 - Revision: 3.2 ACE Inheritance in Windows Services for UNIXThis article was previously published under Q321049 IMPORTANT: This article contains information about modifying the registry. Before you
modify the registry, make sure to back it up and make sure that you understand how to restore
the registry if a problem occurs. For information about how to back up, restore, and edit the
registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986
(http://support.microsoft.com/kb/256986/EN-US/
)
Description of the Microsoft Windows Registry
On This PageSUMMARY
If you are an administrator who manages file servers for an organization, your day-to-day tasks may include cleanup and maintenance, setting and monitoring quotas, file system backup, and other similar tasks. Many of these tasks are automated. To complete these tasks, you may want to have complete control over the data and files on a disk. If you set inheritable access control entries (ACEs) on top-level folders, you can access newly created files and folders without relying on users to give you read/write permissions to specific folders and shares. This behavior also applies to common Internet file system (CIFS) shares. For additional information about CIFS shares, click the article number below to view the article in the Microsoft Knowledge Base: 199072
(http://support.microsoft.com/kb/199072/EN-US/
)
CIFS or Public SMB Information on Common Internet File Systems
This article describes how to set ACEs for inheritance at the top level and to configure these ACEs to be honored throughout the folder hierarchy for shares that are exported over a network file system (NFS) (or a CIFS and an NFS).
MORE INFORMATIONWARNING: If you use Registry Editor incorrectly, you may cause serious problems that may
require you to reinstall your operating system. Microsoft cannot guarantee that you can solve
problems that result from using Registry Editor incorrectly. Use Registry Editor at your own
risk. Microsoft Windows 2000 and Microsoft Windows XP support automatic propagation of inherited ACEs. ACEs that are directly applied to file system objects (explicit ACEs) have a higher priority than inherited ACEs. The directly applied ACEs are applied before any conflicting inherited ACEs. By default, the Server for NFS service in Windows Services for UNIX 2.0 strips any existing discretionary access control list (DACL) entries and adds the following three entries:
In Windows Services for UNIX 2.3, you can use the KeepInheritance registry value to set inheritable ACEs and to make sure that these ACEs apply to newly created files and folders on NFS shares. When you do so, you can have full control to all securable objects in a particular file system. By default, this value is turned off. Note that you can use any set of inheritable ACEs that is specified by the administrator or user at any position in the file system hierarchy. To turn on the KeepInheritance registry value:
The following registry values are no longer valid in Windows Services for UNIX 2.3 and later:
Note About the Permissions That Are Set by NFS ClientsThe KeepInheritance option only applies ACEs that have inheritance enabled. Any permissions that are set by an NFS client apply only to that file or folder, so the resulting ACEs do not have inheritance set.ExampleYou are sharing a folder that is named "share1". It includes a single ACE that was inherited from the parent folder and that gives the Everyone group Read access. If a UNIX client runs the ls -l command, output that is similar to the following is generated:d------r-- 2 joe users 0 Feb 20 09:51 share1 If user Joe changes the permissions to full access for everyone (chmod 777), Joe now sees the following output: drwxrwxrwx 2 joe users 0 Feb 20 09:51 share1 The chmod command added three new ACEs:
rw-r--r-- 2 joe users 56 Feb 20 09:51 unix1 Now suppose Windows user Bob creates a file that is named "win1". By default, the file is constructed with ACEs that are inherited from the parent folder. In this case, only the original Everyone ACE is inheritable, so the new file has only the single ACE. User Joe on the UNIX client will see the following permissions for the win1 file: ------r-- 2 bob users 23 Feb 20 09:51 win1 If you want a folder's permissions to be inherited to new subfolders and files, you must set its permissions from Windows because the permissions that are set by NFS clients only apply to the folder itself. | Article Translations
|
Back to the top
