if the problem it's about permissions, why not use chown and chmod with -R option as background process on apply button?
if the problem it's about permissions, why not use chown and chmod with -R option as background process on apply button?