FreeBSD Bugzilla – Attachment 234404 Details for
Bug 264425
sysutils/nomad: Secure nomad data_dir
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch nomad startup script to create nomad_dir using struct permissions
0001-sysutils-nomad-Secure-nomad-data_dir-on-creation.patch (text/plain), 1.09 KB, created by
Michael Gmelin
on 2022-06-03 01:56:23 UTC
(
hide
)
Description:
Patch nomad startup script to create nomad_dir using struct permissions
Filename:
MIME Type:
Creator:
Michael Gmelin
Created:
2022-06-03 01:56:23 UTC
Size:
1.09 KB
patch
obsolete
>From d74274c2ce841ee4b9259c5f8955cd14ca46f786 Mon Sep 17 00:00:00 2001 >From: Michael Gmelin <grembo@FreeBSD.org> >Date: Fri, 3 Jun 2022 01:40:31 +0000 >Subject: [PATCH] sysutils/nomad: Secure nomad data_dir on creation > >--- > sysutils/nomad/Makefile | 2 +- > sysutils/nomad/files/nomad.in | 1 + > 2 files changed, 2 insertions(+), 1 deletion(-) > >diff --git a/sysutils/nomad/Makefile b/sysutils/nomad/Makefile >index cbf307c19d..e52d36da21 100644 >--- a/sysutils/nomad/Makefile >+++ b/sysutils/nomad/Makefile >@@ -1,7 +1,7 @@ > PORTNAME= nomad > DISTVERSIONPREFIX= v > DISTVERSION= 1.2.6 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= sysutils > > MAINTAINER= jhixson@FreeBSD.org >diff --git a/sysutils/nomad/files/nomad.in b/sysutils/nomad/files/nomad.in >index 8dd5202252..673e889903 100644 >--- a/sysutils/nomad/files/nomad.in >+++ b/sysutils/nomad/files/nomad.in >@@ -51,6 +51,7 @@ nomad_startprecmd() > > if [ ! -d ${nomad_dir} ]; then > install -d -o ${nomad_user} -g ${nomad_group} ${nomad_dir} >+ chmod 0700 ${nomad_dir} > fi > if [ "${nomad_debug}" != "NO" ]; then > command_args="-T ${name} ${command_args}" >-- >2.35.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 264425
:
234404
|
234420