Skip to content

umask: symbolic mode cannot contain empty set #10177

@adamjstewart

Description

@adamjstewart

The following issue occurs on fish 3.6.4 and can be reproduced as follows. The following works fine:

> umask 0007
> umask
0007
> umask -S
u=rwx,g=rwx,o=

However, the symbolic mode equivalent does not work, regardless of order:

> umask u=rwx,g=rwx,o=
set: given 1 indexes but 0 values
> umask o=,u=rwx,g=rwx
set: given 1 indexes but 0 values

This works fine in bash, so I assume it should also work in fish. I have no third-party customizations. Note that the following is not equivalent:

> umask u=rwx,g=rwx

This does not override the value of o.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething that's not working as intended

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions