reduce permission to write sd card