Skip to content
Back to top
View this page
Edit this page

# xonsh.xoreutils.umask

Implements a umask command for xonsh.

xonsh.xoreutils.umask.current_mask()

xonsh.xoreutils.umask.from_oct_digits(digits)

xonsh.xoreutils.umask.get_numeric_rep_single(rep)

  Given a string representation, return the appropriate octal digit. For example, “rw” becomes 6.

xonsh.xoreutils.umask.get_oct_digits(mode)

  Separate a given integer into its three components

xonsh.xoreutils.umask.get_symbolic_rep(number)

xonsh.xoreutils.umask.get_symbolic_rep_single(digit)

  Given a single octal digit, return the appropriate string representation. For example, 6 becomes “rw”.

xonsh.xoreutils.umask.invert(perms)

xonsh.xoreutils.umask.single_symbolic_arg(arg, old=None)

xonsh.xoreutils.umask.umask(args, stdin, stdout, stderr)

xonsh.xoreutils.umask.valid_numeric_argument(x)