On 28/07/11 20:12, Felix Miata wrote:
On 2011/07/28 16:17 (GMT+1000) Basil Chupin composed:
Felix Miata wrote:
dmask, fmask & umask are all octal inversions of chmod usage.
fmask=133 produces -rw-r--r--, like chmod 644 dmask=022 produces drwxr-xr-x, like chmod 755
In any event, I set fmask=0111& dmask=0000, giving dirs drwxrwxrwx and files -rw-rw-rw-. Why the installer sets what it sets I have no idea, other than risk of naive writes to NTFS making things in Windows work no longer while booted to it.
Many thanks for this, Felix. I can now write to the partitions.
Your explanation gave me the opportunity to (finally :-) ) come to grips with this permission stuff a lot better than I did before.
I noted that you are using 4 digits in your masks but fstab is using only 3. In coming to grips with this permissions 'hassle' I read that the 4-digit approach should be used because it leaves the 4th digit undefined and therefore in its default state. Does this mean, if you know that is, that either 1) openSUSE is not following the more prudent method of coding or 2) openSUSE does not recognise/use the 4-digit approach?
I've never found comprehensible documentation of sticky, setuid, et al, so haven't come to grips to the meaning of the 4th myself. That said, I can't imagine any of those applying to the use of those masks on a Windows partition mount, leaving 4 acceptable for that purpose.
This makes sense of course. But it does sound a bit paradoxical to have these masks applying to windows partitions when they are not applied to linux partitions where they permissions play a vital part. (I'm just musing and not asking for an explanation - some things are best left alone :-) .) BC -- Paradise is like Hell and neither is too far from you because both are creations of your mind and therefore both are already inside you. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org