permissions work correct at last!