i am using below code to set the directory security permission for given user.
directory ‘E:\’ do
rights :full_control, ‘TestUser’
using above code its setting full control for test user to e drive but its removing for default groups and users such as SYSTEM, Administrator, Users groups.
My requirement is to add the test user without impacting other groups/users rights.
help in this regards is highly appreciated.