Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permissions on created folders different between 1.0.10 and 1.2.3 #45

Open
nlsrchtr opened this issue Jan 12, 2016 · 2 comments
Open

Permissions on created folders different between 1.0.10 and 1.2.3 #45

nlsrchtr opened this issue Jan 12, 2016 · 2 comments
Assignees

Comments

@nlsrchtr
Copy link

I'm using the daemons gem in combination with delayed_job. After upgrading the daemons gem from version 1.0.10 to 1.2.3 I was experiencing a strange behavior:

Folders created with FileUtils.mkdir_p(dir) got a permission mask, so that the user running the processes couldn't write into that folder. I got permission denied errors. After debugging and changing the permissions to 0755, the process was running fine again.

Rolling back to version 1.0.10, everything works as expected.

Is there any explanation about this behavior? We're running a Debian based setup.

@thuehlinger thuehlinger self-assigned this Jan 17, 2016
@thuehlinger
Copy link
Owner

Which permissions did you get on the folders created with FileUtils.mkdir_p(dir)? (and what would you have expected?)

@nlsrchtr
Copy link
Author

Thanks for your feedback, @thuehlinger. I'll try to update the version again and give you more details on the permissions.

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

No branches or pull requests

2 participants