Red Hat Bugzilla – Bug 61203
mount umask option octal number
Last modified: 2007-04-18 12:40:57 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9+) Gecko/20020313
Description of problem:
The manual page lacks the information,
that you need to add a leading 0 to the octal umask option value.
Version-Release number of selected component (if applicable): mount-2.11b-3
Steps to Reproduce:
1. mount -t ntfs -orw,umask=222 /dev/hda1 /mnt/win
2. ls -l /mnt/win
Actual Results: The umask octal value is 366, because 222 gets interpreted dezimal.
Expected Results: dunno, but the manualpage should state that you'll need to
start the number with 0 to get expected result.
The entries for most of the filesystems already specify that the values for
umask or modes must be in octal, which implies a leading zero. I will add notes
to the ntfs filesystem and any others that are missing.