~gbmor/clinte

116734fc4b098207b20d94ff8de99ede6e83efb0 — Benjamin Morrison 11 months ago 5d46c86 master
let's actually set the file permissions this time
1 files changed, 1 insertions(+), 0 deletions(-)

M src/posts.rs
M src/posts.rs => src/posts.rs +1 -0
@@ 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(())