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

acl: add default #28635

Closed
wants to merge 2 commits into from
Closed

acl: add default #28635

wants to merge 2 commits into from

Conversation

thegoodduke
Copy link

add default supporting

@@ -132,9 +132,9 @@ def _parse_acl(acl, user, group):

# If a user is not specified, use the owner of the file
if comps[0] == 'user' and not comps[1]:
comps[1] = user
comps[1] = 'owner'
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 please explain the reasoning behind this?

Copy link
Author

Choose a reason for hiding this comment

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

the setfacl command can be used two ways:

  1. setfacl u:root:rw /tmp/house/kitchen
  2. setfacl u::rw /tmp/house/kitchen
    then, there will be two {"user":[{"root": {"octal":6, "permissions":{"read": true,"write": true,"execute": false,}}}]}

if changing to 'owner',it will be {"user":[{"root": {"octal":6, "permissions":{"read": true,"write": true,"execute": false,}}}]} and {"user":[{"owner": {"octal":6, "permissions":{"read": true,"write": true,"execute": false,}}}]}

@cachedout
Copy link
Contributor

@thegoodduke There are a lot of changes here and it's not clear to me what the intention is. Could you please better explain the issue that this PR is intended to address? I'm not comfortable merging this until we have a better explanation of what's happening here and why these changes are necessary. Thanks.

@cachedout cachedout added the Pending-Discussion The issue or pull request needs more discussion before it can be closed or merged label Nov 6, 2015
@jfindlay jfindlay added Execution-Module State-Module Platform Relates to OS, containers, platform-based utilities like FS, system based apps Minor Change labels Nov 7, 2015
@cachedout
Copy link
Contributor

@thegoodduke This PR is failing a few of the ACL tests and also needs some lint errors cleaned up. Could you please have another look? Thanks.

@cachedout cachedout added the pending-changes The pull request needs additional changes before it can be merged label Nov 11, 2015
@cachedout
Copy link
Contributor

@thegoodduke Did you see my comment above?

@cachedout
Copy link
Contributor

Go Go Jenkins!

@cachedout
Copy link
Contributor

@thegoodduke We're going to have to close this if we don't get a response from the questions above. Could you please have a look? Thanks.

@thegoodduke
Copy link
Author

my leader's pr has been merged(#29240), Thanks!

@thegoodduke thegoodduke closed this Dec 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Execution-Module pending-changes The pull request needs additional changes before it can be merged Pending-Discussion The issue or pull request needs more discussion before it can be closed or merged Platform Relates to OS, containers, platform-based utilities like FS, system based apps State-Module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants