Fix external storage access permissions