Skip to content

Remove the chmod 777#76

Closed
jlesueur wants to merge 1 commit intosegmentio:masterfrom
BambooHR:no-chmod
Closed

Remove the chmod 777#76
jlesueur wants to merge 1 commit intosegmentio:masterfrom
BambooHR:no-chmod

Conversation

@jlesueur
Copy link

This library does not need to set permissions on the file. Sysadmins can manage what permissions should be when the file is created, and what permissions are required for the cron to read/rename/write the file.

There is no reason for this library to set permissions on the file. Sysadmins can manage what permissions should be when the file is created, and what permissions are required for the cron to read/rename/write the file.
@f2prateek
Copy link
Contributor

It seems like a reasonable request but the tradeoff for us as a library is making something work out of the box vs adding another step to the README.

For instance here's a PR that actually even goes one step further and makes this value configurable #26

@f2prateek
Copy link
Contributor

I think the best option is to update https://github.com/segmentio/analytics-php/pull/26/files to have a mode/option where the library doesn't chmod at all. I'd like to have the library work out of the box, but still the give you the option to override this behaviour.

@f2prateek f2prateek closed this Nov 4, 2016
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