Messages in this thread | | | Subject | Re: [: [Bug 93671] mount uses wrong default umask for fat filesystem] | From | OGAWA Hirofumi <> | Date | Mon, 27 Jun 2005 23:42:37 +0900 |
| |
Karel Kulhavy <clock@twibright.com> writes:
> ------- Additional Comments From stian@nixia.no 2005-06-26 16:36 PDT ------- > This is not a mount bug, but a kernel-bug. umask=nnn is passed along other > user-flags to the mount syscall as a string, and the kernel-filesystem driver > parses the string and denies the syscall if a syntax-error occures. Not all > filesystems supports umask, so umask is not sent unless spesified. If the mount > man-page claims that umask is defaulted to the current shell umask setting, the > kernel-driver needs to take this into account when umask isn't found in the > string it receives from user-space. Just my 5 cent about this bug
Look util-linux-2.12q... hm, mount command is reseting the umask in main(). -- OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |