Skip to content

Commit

Permalink
Create socket with tighter permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
wincent committed Dec 14, 2016
1 parent 7b3c079 commit c3fa890
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,10 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND

# History

## 0.4.1 (13 December 2016)

- Create socket with user-only permissions, for better security.

## 0.4 (28 November 2016)

- Linux support via `xclip` instead of `pbcopy` (patch from Nelson Fernandez).
Expand Down
1 change: 1 addition & 0 deletions clipper.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ func mergeSettings() {
}

func main() {
syscall.Umask(0077)
// Set this up before we even know where our logfile is, in case we have to
// bail early and print something to stderr.
log.SetPrefix("clipper: ")
Expand Down

0 comments on commit c3fa890

Please sign in to comment.