Fix access privileges