From a8dfcd8bb56e69f9ade69ad2bd9e8f1546e66d1c Mon Sep 17 00:00:00 2001 From: Bartosz Oleaczek Date: Thu, 16 Jan 2025 13:38:34 +0200 Subject: [PATCH] Remove unecessary fileshare permissions --- cmd/fileshare/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/fileshare/main.go b/cmd/fileshare/main.go index 273040fd..390eb58f 100644 --- a/cmd/fileshare/main.go +++ b/cmd/fileshare/main.go @@ -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))