Skip to content

File permission option for file consumer#26

Closed
xenph wants to merge 1 commit intosegmentio:masterfrom
xenph:add-filepermission-option
Closed

File permission option for file consumer#26
xenph wants to merge 1 commit intosegmentio:masterfrom
xenph:add-filepermission-option

Conversation

@xenph
Copy link

@xenph xenph commented Jan 31, 2014

This change will allow the user to pass an optional "filepermissions" parameter to the file consumer, which will be used instead of 0777 on the chmod().

The parameter must be passed as an octal. Following to same conventions as the chmod() function

Copy link
Author

Choose a reason for hiding this comment

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

I had some trouble making the tests pass without trimming this first. I believe this should affect anything else, and might actually make the test suite slightly more portable. But let me know if you don't like it and I can remove it.

Copy link
Contributor

Choose a reason for hiding this comment

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

Seems ok to me. What was the failure without this?

… the file consumer, which will be used instead of 0777 on the chmod().
@f2prateek f2prateek mentioned this pull request Oct 5, 2016
$this->assertFalse($tracked);
}

function testFileSecurity() {
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you rename this to testFileSecurityCustom?

@f2prateek
Copy link
Contributor

Closing for now as this is out of date, but feel free to re-open against master with any changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants