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

dont set ACLs if there are no ACLs to change #108

Merged
merged 2 commits into from
Jan 26, 2022

Conversation

bastelfreak
Copy link
Member

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

@bastelfreak bastelfreak self-assigned this Jan 24, 2022
@bastelfreak bastelfreak force-pushed the tests branch 3 times, most recently from 18014ce to 594b555 Compare January 24, 2022 15:49
Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

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

I wonder if you can verify the changes made with assertions.


require 'spec_helper_acceptance'

describe 'posix_acl' do
Copy link
Member

Choose a reason for hiding this comment

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

This now overlaps with the other test. I don't know if that works well.

Copy link
Member Author

Choose a reason for hiding this comment

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

ah. I can move it to the existing file.

Copy link
Member

Choose a reason for hiding this comment

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

The alternative is to use a new name, but either works.

@bastelfreak bastelfreak force-pushed the tests branch 2 times, most recently from e736d07 to 9e1b400 Compare January 24, 2022 15:57
@bastelfreak
Copy link
Member Author

I will try to debug this tomorrow. a customer reported it. This bug is already present in our 1.1.0 release.

@bastelfreak bastelfreak force-pushed the tests branch 2 times, most recently from 8b13cc7 to 01a2030 Compare January 25, 2022 13:31
@bastelfreak
Copy link
Member Author

#109 has the same test like this PR. 01a2030 fixes the error

@bastelfreak
Copy link
Member Author

I'm pretty sure this is a valid bugfix and won't introduce a regression, but not 100% sure :D

@bastelfreak bastelfreak changed the title Add more complex tests dont set ACLs if there are no ACLs to change Jan 25, 2022
@bastelfreak bastelfreak added the bug Something isn't working label Jan 25, 2022
@bastelfreak
Copy link
Member Author

I would like to rebase it after #111 got merged

Copy link
Member

@smortex smortex left a comment

Choose a reason for hiding this comment

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

Not a user of POSIX ACLs but at least the "logic" looks good 🤷

@bastelfreak
Copy link
Member Author

Fixes #112

@bastelfreak bastelfreak merged commit 3f267b2 into voxpupuli:master Jan 26, 2022
@bastelfreak bastelfreak deleted the tests branch January 26, 2022 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants