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

[mkdir] Implement -m #11

Open
duckinator opened this issue Jun 15, 2020 · 0 comments
Open

[mkdir] Implement -m #11

duckinator opened this issue Jun 15, 2020 · 0 comments
Labels
missing functionality Something required by a standard (probably POSIX) was knwoingly not implemented.

Comments

@duckinator
Copy link
Owner

I've implemented mkdir [-p] DIR, but the -m MODE flag still hasn't been implemented.

mkdir [-p] -m MODE DIR is equivalent to mkdir [-p] DIR && chmod MODE DIR.

I'm unsure if -p + -m results in all created directories having that mode. That should be investigated.

https://pubs.opengroup.org/onlinepubs/9699919799/utilities/mkdir.html

@duckinator duckinator added the missing functionality Something required by a standard (probably POSIX) was knwoingly not implemented. label Jun 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
missing functionality Something required by a standard (probably POSIX) was knwoingly not implemented.
Projects
None yet
Development

No branches or pull requests

1 participant