Skip to content

Commit

Permalink
Remove unecessary fileshare permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
bartoszWojciechO committed Jan 16, 2025
1 parent a70aae6 commit a8dfcd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/fileshare/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func main() {
log.Println(internal.WarningPrefix, "failed to remove old socket file:", err)
}

listener, err := internal.ManualListener(internal.FileshareSocket, internal.PermUserRWGroupRWOthersRW)()
listener, err := internal.ManualListener(internal.FileshareSocket, internal.PermUserRWX)()
if err != nil {
log.Println(internal.ErrorPrefix, "failed to open unix socket:", err)
os.Exit(int(childprocess.CodeFailedToCreateUnixScoket))
Expand Down

0 comments on commit a8dfcd8

Please sign in to comment.