Permission fix.

Try to fix permissions during updates.