mirror of https://git.envs.net/envs/clinte.git
let's actually set the file permissions this time
This commit is contained in:
parent
5d46c86e08
commit
116734fc4b
|
@ -132,6 +132,7 @@ pub fn display() -> error::Result<()> {
|
|||
fs::copy(db::PATH, localdest.clone())?;
|
||||
let mut perms = fs::metadata(&localdest)?.permissions();
|
||||
perms.set_mode(0o644);
|
||||
fs::set_permissions(&localdest, perms)?;
|
||||
}
|
||||
|
||||
Ok(())
|
||||
|
|
Loading…
Reference in New Issue