Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >
article

KB-10037: How to change default umask permissions when using dzdo?

Authentication Service ,  

3 April,18 at 07:31 PM

Question: How to change the dzdo setting so that default permissions on new directories are different than 077 ?

Answer: In Centrify Access Manager, the default settings are to create directories with 0077 permissions (read, write, execute to group and other). You can set the default umask value using Access Manager command definitions.

Steps to take:

1) Open Access Manager console, expand the zone > Authorization > Unix Right Definitions > Commands

User-added image





2) Right-click the command > Properties

For this example, we are using the ‘All Permissions” properties so that anyone with this command right can use the mkdir command to create the directories. If you want to add this attribute to the mkdir command, that will work as well.

User-added image





3) Click the Attributes tab. Here you can set the umask value by selecting the read (R), write (W), and execute (X) permissions for the owner, group or other users.

User-added image



4) To have the changes take effect immediately please flush the adclient cache:
Run "adflush" as root or DZDO

 

Still have questions? Click here to log a technical support case, or collaborate with your peers in Centrify's Online Community.