Fix permissions with method