mirror of
https://github.com/nivekuil/rip
synced 2025-02-17 04:28:26 +00:00
Fix histfile permissions not being set
This commit is contained in:
parent
be3192161f
commit
01ed2a618d
1 changed files with 1 additions and 1 deletions
|
@ -146,9 +146,9 @@ fn write_log(source: &Path, dest: &Path, graveyard: &Path)
|
||||||
let histfile = graveyard.join(HISTFILE);
|
let histfile = graveyard.join(HISTFILE);
|
||||||
{
|
{
|
||||||
let mut f = try!(fs::OpenOptions::new()
|
let mut f = try!(fs::OpenOptions::new()
|
||||||
|
.mode(0o666)
|
||||||
.create(true)
|
.create(true)
|
||||||
.append(true)
|
.append(true)
|
||||||
.mode(0o666)
|
|
||||||
.open(histfile));
|
.open(histfile));
|
||||||
try!(f.write_all(
|
try!(f.write_all(
|
||||||
format!("{}\t{}\t{}\n",
|
format!("{}\t{}\t{}\n",
|
||||||
|
|
Loading…
Add table
Reference in a new issue