Skip to content

Split folder and directory posix permission config - #1719

Merged
Shelnutt2 merged 1 commit into
devfrom
sethshelnutt/ch2722/split-posix-permissions-for-files-and-directories
Jul 13, 2020
Merged

Shelnutt2 merged 1 commit into
devfrom
sethshelnutt/ch2722/split-posix-permissions-for-files-and-directories

Conversation

@Shelnutt2

@Shelnutt2 Shelnutt2 commented Jul 10, 2020

Copy link
Copy Markdown
Contributor

Directories need the executable bit set, so finer control is given by splitting the posix permission config into one for files and one for directories. This allows files to be created without the executable bit.

This is, in a way a breaking change since I've removed the old configuration option. I thought best to remove the ambiguous option and force the new specific options. I can however adjust the PR to leave the old option, and add the new directory one only, if there is consensus. Note: the break is only if a user was manually overriding the default config value introduced in 2.0.6. If the user was not overriding, there is no breakage.

@Shelnutt2
Shelnutt2 requested review from ihnorton and joe-maley July 10, 2020 14:51
@Shelnutt2 Shelnutt2 added the vfs label Jul 10, 2020
Directories need the executable bit set, so finer control is given by
splitting the posix permission config into one for files and one for
directories.
@Shelnutt2
Shelnutt2 force-pushed the sethshelnutt/ch2722/split-posix-permissions-for-files-and-directories branch from d3a4e78 to 97fd61d Compare July 10, 2020 16:07

@ihnorton ihnorton left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The parameter split seems ok to me. 👍

@Shelnutt2
Shelnutt2 merged commit 00e4e6a into dev Jul 13, 2020
@Shelnutt2
Shelnutt2 deleted the sethshelnutt/ch2722/split-posix-permissions-for-files-and-directories branch July 13, 2020 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants