fixing public folder permissions