Mailinglist Archive: opensuse (1002 mails)

< Previous Next >
Re: [opensuse] Cannot write to Windows partition(s)
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.
--
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata *** http://fm.no-ip.com/
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups