Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Is there a way to change a folder's group from Ambari?

avatar
New Member

I create within the folder "user" one for each user, but I need to change the group and put "hadoop"

1 ACCEPTED SOLUTION

avatar
Guru

Hi @Federico Ceravolo

with the latest Ambari version, you can actually automate the dir creation, and include any other changes you need (such as the group moditifcation) by editing a script that is included in Ambari called the post-user creation hook script. You may want to look at it rather than doing it manually for each user via the Ambari Files View or something:

https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.0.3/bk_ambari-administration/content/create_use...

View solution in original post

1 REPLY 1

avatar
Guru

Hi @Federico Ceravolo

with the latest Ambari version, you can actually automate the dir creation, and include any other changes you need (such as the group moditifcation) by editing a script that is included in Ambari called the post-user creation hook script. You may want to look at it rather than doing it manually for each user via the Ambari Files View or something:

https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.0.3/bk_ambari-administration/content/create_use...