Skip to content

[mkdir] Implement -m #11

Description

@duckinator

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    missing functionalitySomething required by a standard (probably POSIX) was knwoingly not implemented.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions