/* mknod -- make special files
- Copyright (C) 1990-1991, 1995-2012 Free Software Foundation, Inc.
+ Copyright (C) 1990-2013 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
}
}
- newmode = (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH);
+ newmode = MODE_RW_UGO;
if (specified_mode)
{
struct mode_change *change = mode_compile (specified_mode);
quote (scontext));
/* Only check the first character, to allow mnemonic usage like
- `mknod /dev/rst0 character 18 0'. */
+ 'mknod /dev/rst0 character 18 0'. */
switch (argv[optind + 1][0])
{