Bug 1724024 - use more secure mode for mkdir operations
Summary: use more secure mode for mkdir operations
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: glusterd
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Sanju
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-06-26 04:37 UTC by Sanju
Modified: 2019-07-23 03:24 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-07-23 03:24:22 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gluster.org Gerrit 23035 0 None Merged core: use more restrictive mode while creating the directories 2019-07-23 03:24:21 UTC

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


Note You need to log in before you can comment on or make changes to this bug.