use 644 for os-release not 755

master
rascul 5 years ago
parent 0d48fb2aa7
commit 8c391584d3

@ -26,7 +26,7 @@ pub fn os_release(config: &Config) -> MkrootResult<()> {
match metadata(&path) {
Ok(meta) => {
let mut perms = meta.permissions();
perms.set_mode(0o755);
perms.set_mode(0o644);
if let Err(e) = set_permissions(&path, perms) {
return Err(MkrootError::from(format!(
"Error setting permissions {}: {}",

Loading…
Cancel
Save