Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

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

avatar
New Contributor

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...