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

$ betty give me permission to this directory - incorrect semantics. #198

Open
thorsig opened this issue Jan 12, 2018 · 0 comments
Open

$ betty give me permission to this directory - incorrect semantics. #198

thorsig opened this issue Jan 12, 2018 · 0 comments

Comments

@thorsig
Copy link

thorsig commented Jan 12, 2018

When the request "$ betty give me permission to this directory" is given, the command executed is (according to the information page): sudo chown -R whoami .

First and foremost, that should be the response to "$ betty give me recursive permissions to this directory" - just as "$ betty give me permission to this file" should not result in use of the -R switch.

Second, using chown is semantically incorrect as well - that should result from "$ betty give me [recursive] ownership on this directory/file" - instead one should find out what filesystem the current directory resides on, and use the correct extended attributes to give specific user-access to the file/directory.

It may seem nitpicky, but in the long run you will appreciate to have the semantics correct in the beginning.

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

1 participant