Bug 1724024

Summary: use more secure mode for mkdir operations
Product: [Community] GlusterFS Reporter: Sanju <srakonde>
Component: glusterdAssignee: Sanju <srakonde>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: amukherj, bugs
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-07-23 03:24:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sanju 2019-06-26 04:37:04 UTC
Description of problem:
Across the codebase for all mkdir operations we are using 0777 mode. We can use more restrictive and secure mode.

Version-Release number of selected component (if applicable):
N/A

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Atin Mukherjee 2019-07-02 07:46:05 UTC
Can we please pick this up for glusterfs-8?

Comment 2 Worker Ant 2019-07-12 11:37:59 UTC
REVIEW: https://review.gluster.org/23035 (core: use more restrictive mode while creating the directories) posted (#1) for review on master by Sanju Rakonde

Comment 3 Worker Ant 2019-07-23 03:24:22 UTC
REVIEW: https://review.gluster.org/23035 (core: use more restrictive mode while creating the directories) merged (#3) on master by Amar Tumballi